Automation Cloud and Document Understanding

Hello everyone!

I am currently running POC for Apps + Document Understanding to showcase how good DU where workflow looks like this:

  1. Upload document to Apps
  2. Press “Upload” button which kicks-off process workflow to upload document to Orchestrator storage bucket and then starts process bellow.
  3. Displays message to the user with details extracted

I am getting an error when I am running it via Apps while running the process directly with same file is processing the document properly.

An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set.

System.InvalidOperationException: An invalid request URI was provided. Either the request URI must be an absolute URI or BaseAddress must be set. at UiPath.IntelligentOCR.StudioWeb.Activities.ExtractDocumentDataWithDocumentData`1.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.IntelligentOCR.StudioWeb.Activities.DataExtraction.ExtractorAsyncTaskActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I am using file picker and upload button to upload it to Orchestrator storage bucket and then kicking off workflow to process document.
Workflow is really simple and easy going since I don’t need to classify anything I am using one type of file and using action download storage file and activities provided here.

Download storage file activity:

Extract document data activity:

@dfilipovic

Try to log the file location and check looks like the download is failing which is effecting the extract…or the path given by download is somehow tampered…so check the path it shows

Also does the robot account triggered from apps is having required permissions to access all those resources? Storage bucket…du etc…generally for robots there might be a restriction on storage bucket you can check the roles to confirm

Cheers

Hi @Anil_G, when I am running robot in cloud automation by itself it is running it properly as stated before. This is serverless robot so it should have access to this resource because it is being run by administrator user at the platform.
I was wondering when I am running it via Apps why do I get this error when it is processing document and on that step I am getting this error as stated.

@dfilipovic

Did you happen to check the location?

Cheers