Facing error on digitizing

I have correctly added API and Endpoint, using UiPath Document OCR, but still error ocurred “One or more errors occurred. (Method not found: ‘System.IO.Stream UiPath.DocumentUnderstanding.Digitizer.Preprocessing.PageRendererResults.get_BitmapStream()’.)”
Please find the below snip for your reference.

Hi,

It may be dependencies matter or IntelligentOCR package is not installed correctly.
First, can you check if there is any error regarding dependencies under IntelligentOCR package?

If there is an error, please repair it.

Or, can you try to clear nuget cache (%USERPOFILE%\.nuget\packages), then re-install the latest stable IntelligentOCR pacakge.

Regards,

I’d be glad to help you troubleshoot the “One or more errors occurred. (Method not found: ‘System.IO.Stream UiPath.DocumentUnderstanding.Digitizer.Preprocessing.PageRendererResults.get_BitmapStream()’.)” error you’re encountering in UiPath Document OCR.

Understanding the Error:

This error typically indicates an incompatibility between your UiPath version and the specific method (get_BitmapStream()) used in the Document Understanding (DU) activities. This method might have been removed or changed in newer UiPath versions.

Resolving the Issue:

Here are several approaches to address the error:

  1. Check UiPath Version Compatibility:
  • Identify Your Version: Determine the exact version of UiPath Studio you’re using (e.g., 2020.10, 2021.4, etc.). You can find this information under “Help” → “About UiPath Studio.”
  • Review DU Compatibility: Refer to the documentation for your UiPath version to check the supported activities and functionalities of the Document Understanding library. Look for information about get_BitmapStream() or similar methods for extracting bitmaps from processed documents.
  1. Update UiPath Studio (if applicable):
  • If your version is older and doesn’t support the method, consider updating UiPath Studio to a more recent version. Refer to the UiPath documentation for upgrade instructions specific to your environment (on-premises or cloud-based).
  • Important: Before upgrading, thoroughly test your workflows in a development environment to ensure compatibility with the new version.
  1. Reinstall UiPath Activities (if applicable):
  • In rare cases, corrupted activity packages could lead to errors. Try reinstalling the UiPath Document Understanding activities package. This might help if the missing method is due to a package installation issue.
  1. Contact UiPath Support:
  • If the above steps don’t resolve the issue, reach out to UiPath Support for further assistance. They can provide more specific guidance based on your environment and workflow details.

Additional Tips:

  • Avoid Hardcoding Dependencies: While less common, refrain from directly referencing specific methods like get_BitmapStream() in your code. Rely on interface implementations and activity properties that might change across versions.
  • Stay Up-to-Date: Keep your UiPath Studio and activities up-to-date to benefit from bug fixes and compatibility improvements.

By following these steps and considering your UiPath version compatibility, you should be able to effectively resolve the OCR error and proceed with your document processing automation.

Thanks for the reply. It has been resolved, by updating old version of intelligent OCR 6.9.6.

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