Timeout/503 error when using Document Understanding in an automated process (cloud)

So to start off I’ll mention that currently I am on a trial version with everything working on UiPath cloud products, no on prem currently. I am testing out the document understanding capabilities but I keep getting these two vague errors:

(A timeout error and a 503 service unavailable error)

Timeout:

2023-08-08 10:46:00.964 GMT−4: Error: Polly.Timeout.TimeoutRejectedException: The delegate executed asynchronously through TimeoutPolicy did not complete within the timeout.
at UiPath.IntelligentOCR.StudioWeb.Activities.ExtractDocumentDataWithDocumentData1.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.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) System.Threading.Tasks.TaskCanceledException: The operation was canceled. at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at UiPath.DocumentUnderstanding.ML.Services.MLRequester.SendPostAsync(String url, String apiKey, Object payload, Object metadata, String correlationId, String predictionId, CancellationToken token, Boolean requestRefreshToken) at UiPath.DocumentUnderstanding.ML.Services.MLRequester.<>c__DisplayClass12_0.<<PostWithPolicyAsync>b__1>d.MoveNext() --- End of stack trace from previous location --- at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, Func2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func5 onTimeoutAsync, Boolean continueOnCapturedContext)
System.IO.IOException: The response ended prematurely.
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

503 error:

UiPath.DU.Shared.DuAppClient.DuAppException: DuApp server returned 503 (Service Unavailable). Additional details: no healthy upstream at UiPath.DU.Shared.DuAppClient.DuAppClient.PerformGet(String url, CancellationToken cancellationToken, Nullable1 timeout) at UiPath.DU.Shared.DuAppClient.DuAppClient.GetModelFields(Skill skill, CancellationToken cancellationToken, Nullable1 timeout) — End of inner exception stack trace

The automation is very simple but here are some screenshots if that helps:

The error is occuring during the “Extract Document Data” step.

I’ve seen a lot of similar questions with answers about the desktop or on-prem version of many of these tools so I want to remind again that everything here is on cloud.

Edit: I had to remove some screenshots because I am only allowed to post one I guess (?)

@jolson

Looks like as per error either you dont have enough license …either exceeding thw pge limit or the document size

Cheers