Loading asset <asset_name> failed: You are not authenticated! Error code: 0

Hi All,

I have created an asset in orchestrator with string datatype.
I use REFramework code base which inturn uses “GetRobotAsset” activity to fetch the asset value.
When the bot is triggered from orchestrator, sometimes an error is thrown as :
Loading asset <asset_name> failed: You are not authenticated! Error code: 0

What is the reason for this error?

Hi
when using GET ASSET activity Make sure that you are connected to ORCHESTRATOR that is the machine must be connected to the orchestrator
Only then we will be able to access the assets created in orchestrator

Cheers @satishkumar

Thanks @Palaniyappan.
The robot is indeed connected to orchestrator.
But what I notice is that, the robot status in the tray says “Connected, licensing”, “unlicensed” sometimes.
When the bot is triggered from orchestrator, the robot status changes to “Connected, Licensed”.

Does the intermediary state of robot licensing status have an impact for this authentication error?

Kindly check whether the domain name and username mentioned in ROBOT tab is as same as in your machine
That is go to your machine and open cmd window where type the command as whoami
Which will give us domain and username value
Type the same while creating robot in orchestrator

Cheers @pslakshmi_kanth

I was also facing the same issue but when i changed “UIPath.System.Activities” package version from 20.6.1-preview to an earlier version 20.4.0, it worked for me

2 Likes

Yah thats true…
Its good to go with stable version. Thanks for the note @Atul_Somani

Cheers