Error in digitize document process


fascing this error while diziting process

23.10.0+Branch.master.Sha.e038c5a32a4f890ba12a3c04ac465dc8811521e0

Source: Digitize Document

Message: The extension ‘.xaml’ does not have a known content type defined

Exception Type: System.NotSupportedException

System.NotSupportedException: The extension ‘.xaml’ does not have a known content type defined at UiPath.SmartData.Data.ContentTypeUtilities.GetContentTypeFromFileName(String filePath)
at UiPath.IntelligentOCR.Activities.Digitization.DigitizeDocument.ValidateContentType(String fileName)
at UiPath.IntelligentOCR.Activities.Digitization.DigitizeDocument.ValidateArguments(NativeActivityContext context, String& fileName)
at UiPath.IntelligentOCR.Activities.Digitization.DigitizeDocument.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi @Gamelytics ,

Could you let us know what is the file format or type used for Digitization ?

The Supported file types are provided in the documentation :
image

1 Like

Hi @Gamelytics ,
Please check your file
It must be type of supported eg: pdf, png, jpg…
regards,

Hi

→ Check the file format used for Digitization .
→ it will support only for .png .gif .jpeg .pdf extension files .
→ please check and replace the correct format file.

Thank you

Hi,

please check below video,

How to Fix Error in UiPath Digitize Document: An Unexpected Error Has Occured - YouTube