Document Understanding Classification Error

Hi I have 6 models only 1 of them is failing on classification

current model have a good confidence score, I don’t know why it fail when it comes to classification.

here is the shortcut error from exception details

RemoteException wrapping UiPath.Shared.Activities.TrackingException: Request CorrelationId: 4324e576-d78a-434c-ba86-1c83a67241ef
Request PredictionId: HHFsLOZOJrLIUeq71NCS9xwYOR3yi6S9qLCArABFF9Y=_52939152-cdf7-410f-bc6f-40daf9be7659
Invalid response:
{
“status”:“Succeeded”,“result”:
{
“documentObjectModel”:
.
.
.
}. Status code: OK. CF-RAY: 9bd1cc0bfdc549e4-HKG. AppId: cid-v1:354c7cb9-ae5a-4d16-84a7-f13242bbac6d.
at UiPath.DocumentUnderstanding.Common.SDK.Core.FrameworkRequestsHandler.PerformSendAsync[T](HttpClient httpClient,
String requestHint,
HttpRequestMessage request,
CancellationToken cancellationToken)
at UiPath.DocumentUnderstanding.Common.SDK.Digitization.FrameworkDigitizationClientHelper.GetDigitizationResult(HttpClient httpClient,
String token,
Guid projectId,
Guid documentId,
CancellationToken cancellationToken)
at UiPath.DocumentUnderstanding.Common.SDK.Digitization.FrameworkDigitizationClient.GetDigitizationResult(Guid projectId,
Guid documentId,
CancellationToken cancellationToken)
at UiPath.DocumentUnderstanding.Common.SDK.Helpers.RequestUtils.DoUntilTimeout[T](Func2 func, Guid operationId, Nullable1 timeout,
CancellationToken cancellationToken)
at UiPath.DU.Shared.Framework.FrameworkClient.Digitize(Stream content,
String fileName,
DigitizationOutput output,
Guid projectId,
CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.IntelligentOCR.Activities.DuAppActivityCore1.ExecuteAsync(AsyncCodeActivityContext context, Func5 executeAsync,
CancellationToken cancellationToken)
at UiPath.IntelligentOCR.Activities.DocumentClassification.DuAppClassifier.ExecuteAsync(AsyncCodeActivityContext context,
CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at UiPath.IntelligentOCR.Activities.DocumentClassification.ClassifierAsyncTaskActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

What i mean is I have 6 document types, not models.

Hi @rpahtpe

This is not a model issue.

Even with good confidence, classification can fail if:

  • The document type name in Taxonomy doesn’t exactly match the DU project (case-sensitive).
  • That document type is not selected under Configure Classifiers.
  • The doc type was renamed/changed after training and not republished.
  • Page range or confidence threshold differs for that document type.

Since status is Succeeded, OCR is fine — recheck taxonomy mapping, reselect the classifier, republish, and test again.

image
same name fir taxonomy and DU Prject = BOC
already selected in configure classifier

This is not a model or confidence issue. Classification is succeeding, but UiPath cannot map the result back to the taxonomy.

Delete the BOC document type from Taxonomy Manager, save, close the workflow, reopen it, recreate BOC, then reselect it in Configure Classifiers.

If that still fails, test with a new taxonomy containing only BOC.

I try this fix, but I got the same error.

This is not a confidence or OCR issue. Digitization succeeds, but classification fails when UiPath tries to map the result back to the taxonomy for that one document type.

Most likely causes are corrupted metadata or an inconsistent document type definition for BOC in the DU project.

  • Delete the BOC document type in the DU project, recreate it from scratch, retrain, and publish again
  • Make sure BOC has a trained classifier version
  • Check that page range settings match between DU and taxonomy (or remove them)
  • Clear Studio cache and reconfigure classifiers

If it still fails, create a new DU project with only BOC and test with a new taxonomy. If that works, the original DU project is corrupted.

Hi Mona, thanks for the reply.

I already did all of these before I post here in the forum.
I did create a new DU project with only BOC document type, but it still fails.

UiPath Support is helping me, but they can’t provide a better solution for this issue.
It seems like this issue are new to them.