I am having an issue with the WaitForDocumentClassificationActionAndResume activity in UiPath. It is throwing an exception with the message “You are not authorized!” even though the robot has all the necessary permissions as outlined in the documentation (https://docs.uipath.com/activities/docs/wait-for-document-classification-action-and-resume#storage-details).
I believe the problem may be with the BaseWaitForDocumentActionAndResume class because it is trying to fetch user information in the AddUserInfoToActionData method, which is causing the exception to be thrown.
Has anyone encountered this issue before or have any suggestions on how to fix it? Any help would be greatly appreciated. Thank you in advance.
I have started the project using the document understanding framework template and we have everything up to date so:
- UiPath.IntelligentOCR.Activities: v6.6.0
- Studio: 2022.10.4
The robot have all the listed permissions and have no problem with creating the task in action center, but as the process resume after verification the robot will crash.
From the error message, it is still a permission issue.
Go to the Modern Folder → Users → find the robot in the list → Edit Roles
Add the Robot role if it doesn’t exists with the needed permissions
Let us know if this helped.
Thank you for your help, however the robot already has the needed permissions.
I have also tried given it the “Folder administrator” role and it did not help.
Hello,not sure if this was resolved yet but I had this issue for the longest time and finally got this resolved. In the ‘Robot’ Role in Orchestrator, you will need to enable “Create” and “Edit” options in the ‘Folder Permissions’ tab(Tenant>Manage Access>Roles>Edit) for the following :
- Storage Files
- Storage Buckets
- Action Assignment
- Action Catalogs
At first, I had all these and it still didn’t work. After testing some roles I found one other role necessary to avoid this exception which is actually under the ‘Tenant Permission’ tab called “Users”. You will also need to enable “View” permissions for this as well. Hope this helps!