UiPath.Core.Activities.OrchestratorHttpException: You are not authenticated! Error code: 0

Error message :- " UiPath.Core.Activities.OrchestratorHttpException: You are not authenticated! Error code: 0 "

“RemoteException wrapping UiPath.Core.Activities.OrchestratorHttpException: You are not authenticated! Error code: 0
at UiPath.Core.Activities.HttpStatusCodeExtension.OrchestratorEnsureStatusCode(HttpResponseMessage response)
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”

Hello guys I am not able to fetch the records from Queue or to send the records to the Queue and I am wondering I did not find any solution on this topic anywhere in the forum. No, where no one commented or kept the perfect solution on this.

Letting you know that My Orchestrator is connected and licensed and The robot in the orchestrator is in Available status.

Can anyone can help on this topic is more appreciated. Any robot master please Thanks in advance.

Clearly explained the error. Let me know anyone has any questions on this

HI @NikhilRPA - This is most likely because of permissions to Robot. Please follow below steps :

  • Select Tenant from left side.
  • Go to roles.
  • Edit the role “Robot”
  • Go to Folder Permissions.
  • Check View, edit and create permissions and save.
1 Like

Hi @mahesh.kumar As you said. I have given all the permission from the tenant and I am getting the same error saying

“Add Queue Item: You are not authenticated! Error code: 0”

@mahesh.kumar Do I need to give any other permissions anywhere to access this. Please let me know.

Thanks and Regards.,
Nikhil

Hi @NikhilRPA - Apologies, I could not check forum for a while. Can you please share

  • screenshot of properties of get transaction item activity?
  • Are you connected UiPath community orchestrator?
  • How many folders do you have in your tenant?
  • What type of robot it is? - Production, Non-pro, studio etc?

Hi @NikhilRPA - I was able to replicate the issue and faced it when the user role does not have rights to access/edit transactions. Please follow below steps and see if you get help :

  • First find out your robot. Click on Tenant → Robot. After that
  • Click on “Tenant” → Folder
  • Find out the role assigned.

  • Now, click on roles and give full permission to this role.
1 Like

@mahesh.kumar
I think I updated the UiPath.System.Activities to 20.0.4.
This helps me and I can able to get the items from [Orchestrator]

Thanks for sharing :slight_smile:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.