Can any one help me to clear this Error:

22.12.0-beta.11471+Branch.release-v22.12.0.Sha.d2325c659238e9a5bce4ec0fa2d550b0024490cb

Source: Machine Learning Extractor

Message: Request CorrelationId: fd6cda7e-5dbe-4a54-bf97-c2f1d0bbddba
Request PredictionId: mz/Zgh1tnEWr2eT8mcKREZnnA1XHcqKaEPjsqmjRiN4=_f02496a1-9e81-4db6-a104-c16025bda502
The document exceeds the maximum allowed size for a request
Http Response Code: 413
Http Response Content: {“info”:“Prediction Failed”,“reason”:“{\u0022message\u0022:\u0022Freekit edition allows documents of maximum 2 pages. Received a document with 3 pages\u0022}”}

Exception Type: UiPath.Shared.Activities.TrackingException

UiPath.Shared.Activities.TrackingException: Request CorrelationId: fd6cda7e-5dbe-4a54-bf97-c2f1d0bbddba
Request PredictionId: mz/Zgh1tnEWr2eT8mcKREZnnA1XHcqKaEPjsqmjRiN4=_f02496a1-9e81-4db6-a104-c16025bda502
The document exceeds the maximum allowed size for a request
Http Response Code: 413
Http Response Content: {“info”:“Prediction Failed”,“reason”:“{\u0022message\u0022:\u0022Freekit edition allows documents of maximum 2 pages. Received a document with 3 pages\u0022}”} —> UiPath.DocumentUnderstanding.ML.Activities.Exceptions.MLRequestException: The document exceeds the maximum allowed size for a request at UiPath.DocumentUnderstanding.ML.Services.MLClient.InterpretResponse[T](HttpResponseMessage httpResponse, JsonConverter converters)
at UiPath.DocumentUnderstanding.ML.Services.MLClient.PerformRequest[TRequest,TResponse](TRequest request, Boolean withRetry, Object metadata, Nullable1 timeout, String correlationId, String predictionId, CancellationToken ct, JsonConverter[] converters) at UiPath.DocumentUnderstanding.ML.Services.MLClient.Extract(String documentPath, Document dom, Object metadata, Boolean withRetry, ExtractorDocumentType extractorDocumentType, String correlationId, String predictionId, CancellationToken ct, Nullable1 timeout)
at UiPath.DocumentUnderstanding.ML.Activities.MachineLearningExtractor.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.DocumentUnderstanding.ML.Activities.MachineLearningExtractor.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.DocumentUnderstanding.ML.Activities.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)

Hi @krishna_priya ,

It seems that the error is pointing out to your Limitation of License used.

Could you let us know what is the type of license that you are using ?

@krishna_priya

I believe you are using community version…if so there is a limit of two pages for a document that you can use with document understanding…

So please change the document to two pages and try

As per error we see there are 3 pages in your documnet

Cheers

Actually I’m using trial version

@krishna_priya

Here are the limits

Cheers

@krishna_priya ,

If using the Pro-Trial version, Could you let us know when was this updated to the Pro-Trial version ?

Also, Try updating the Document Understanding API Key and use the new key generated and check whether you are able to process more than 2 pages.

In addition to that let us also know the Endpoint used in the ML Extractor Activity.

1 Like

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