cancel
Showing results for 
Search instead for 
Did you mean: 

Google Cloud – Authentication VBO error

Hi,

we have Blue Prism 6.10.3.

When we try to use Google Cloud – Authentication VBO we get this error:

Internal : Could not execute code stage because exception thrown by code stage: Non è stato possibile caricare il file o l'assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' o una delle relative dipendenze. La definizione di manifesto dell'assembly specificato non corrisponde al riferimento all'assembly. (Eccezione da HRESULT: 0x80131040)
Kind regards,
Nicolò Ceccaroni


------------------------------
Nicolò Ceccaroni
------------------------------
4 REPLIES 4

Hi Nicolo,
 
This error normally occurs when a DLL is missing, in this case it appears to be 'Netwonsoft.JSON.dll', what I suggest is trying to copy the DLL file to the Blue Prism Automate folder and add it to 'External References' in the object. You can download the dll from the NuGet gallery.
 
If it doesn't work, try reimporting the vbo as suggested in this article below: https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=5d08a15a-0de3-4dfa-92ca-45f48984fa85&CommunityKey=3743dbaa-6766-4a4d -b7ed-9a98b6b1dd01#bm5d08a15a-0de3-4dfa-92ca-45f48984fa85
 
Regards,


------------------------------
Leonardo Soares
RPA Developer Tech Leader
América/Brazil
------------------------------
Leonardo Soares RPA Developer América/Brazil

Hi Leonardo,

we have the DLL Netwonsoft.JSON.dll (and it is working).

We think that the problem could be the version of the dlls of the object Google Cloud Authentication VBO.

Regards,

Nicolò



------------------------------
Nicolò Ceccaroni
------------------------------

@Nicolò Ceccaroni,

That VBO doesn't directly reference the Newtonsoft DLL, but it does reference the JWT and BouncyCastle DLLs. Most likely, it's an issue within one of those DLLs and the Newtonsoft version installed by BP v6.10.3. You can try downloading v13 of the Newtonsoft DLL and drop it in your BP Automate folder. Just make sure to make a backup copy of the existing Newtonsoft DLL.

You can get the v13 Newtonsoft from Nuget at the following link.

https://www.nuget.org/api/v2/package/Newtonsoft.Json/13.0.1

The downloaded file will be a .nupkg. It's really just a zip file, so if you change the file extension to .zip you'll be able to open it in File Explorer and pull the DLL out.

Did you download the support files from the asset page and deploy those to your BP folder?

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Eric,

in your opinion, could we try using an earlier version of the JWT DLL?

Thanks,

Nicolò Ceccaroni



------------------------------
Nicolò Ceccaroni
------------------------------