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.
What version of UiPath.IntelligentOCR.Activities you are using?
What is the Studio version?
When creating a new UiPath Studio project that includes this activity, you selected the Document Understanding Process template, or went to Project Settings and activate the Supports Persistence flag?
Did you make sure that you have enabled all needed permissions for Orchestrator? Go to Folder Permissions for the Robot role in Orchestrator and verify that:
For Storage Files permissions, View and Delete options are selected.
For Storage Buckets permissions, View option is selected.
For Actions permissions, View option is selected.
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.
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
Actions
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!
UiPath.IntelligentOCR.Activities v6.9.5 and v6.5.3 fixed bugs that triggered a “You are not authorized” error when resuming a job after document validation is completed from Action Center.