Exception Post Resume(After Validation completed in Action Center)

Hi All,

I am getting below error once the job resumes post validation is completed in action center.

UiPath.DocumentUnderstanding.Persistence.OrchestratorException: You are not authorized! —> System.Exception: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code ‘Forbidden’
at UiPath.DocumentUnderstanding.Persistence.Users.GetUsersWithHttpMessagesAsync(String expand, String filter, String select, String orderby, Nullable1 top, Nullable1 skip, Nullable1 count, Dictionary2 customHeaders, CancellationToken cancellationToken)
at UiPath.DocumentUnderstanding.Persistence.UsersExtensions.GetUsersAsync(IUsers operations, IEnumerable1 userIds, CancellationToken cancellationToken) at UiPath.DocumentUnderstanding.Persistence.OrchestratorClient.InternalExecuteAsync[T](Func1 func)
at UiPath.IntelligentOCR.Activities.BaseWaitForDocumentActionAndResume1.AddUserInfoToActionData(NativeActivityContext context, T actionData, IOrchestratorClient orchestratorClient, CancellationToken cancellationToken) at UiPath.IntelligentOCR.Activities.BaseWaitForDocumentActionAndResume1.OnExecuteAsync(NativeActivityContext context, Boolean continueOnError, CancellationToken cancellationToken)
at UiPath.IntelligentOCR.Activities.BaseWaitOrchestratorClientAsyncActivity1.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken) --- End of inner exception stack trace --- at UiPath.IntelligentOCR.Activities.BaseWaitOrchestratorClientAsyncActivity1.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.IntelligentOCR.Activities.BaseWaitOrchestratorClientAsyncActivity`1.OnBookmarkResume(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)

Locally works fine, the above error occurs only while running from Orchestrator on other machine.
I have tried unchecking the Remove Data from Storage. And also upgrading the packages.

Any help on this is appriciated

Thanks

Hi @Aashik_Sweekrith ,

Check if the same permissions has been assigned to the Robot that is being used in the Other machine. It looks like a permission issue. Assign the roles required as per the docs given below :

1 Like

Thank you @supermanPunch for the response.

Permissions looks good and we already have a DU process running in the machine.

I tried to downgrade the IntelligentOCR and DocumentUnderstanding.ML packages to the previous project and worked fine.

Before the downgrade(Exception thrown version)

image

After downgrade

image

Thank you

@Aashik_Sweekrith ,

Glad to know that you were able to solve the issue.

You could close the Topic by marking your post as the solution, as you were able to use that approach and fix your issue.

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