Error in digitize document process

fascing this error while diziting process


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 :

1 Like

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


→ 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


please check below video,

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