Error Using UiPath Document OCR

Dear All,

I have attempted to use UiPath Document OCR on a image to see if it can pick up handwritten text using Get OCR Text. I have set the API key as retrieved from the Community Plan as well as setting the End Point as “https://du-sg.uipath.com/ocr”.

However, I received the following error when running the workflow. This workflow works perfectly fine when i use Tesseract OCR instead of UiPath Document OCR.

Could anyone advice on how i can resolve this error?

@lingi,

Try generating new key and update it in your code and try

image

1 Like

Hi,

If we want to use UiPathDocument OCR on AutomationCloud, it’s necessary to use API key of AI unit.

So, can you try either of the following?

  • Use UiPath Screen OCR (with computer visoon api key) instead of DocumentOCR
  • build local server for DocumentOCR

Regards,

Hi @ashokkarale, tried generating new key but still does not work :frowning:

1 Like

Hi @Yoichi, can i check where can i download UiPath.DocumentUnderstanding.OCR.LocalServer package? I am unable to download directly from the studio due to company restriction.

Hi,

In my environment, it exists in Official feed as the following image.

https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json

Regards,

Hi Yoichi, unfortunately, my company’s firewall has blocked me from accessing the Offical Feed. Are there any external website where I can download this package from?

Hi @lingi

Try to update the latest dependencies package.
This error confirms that the response from the UiPath document OCR endpoint is invalid. It happens when the API key is incorrect, expired, or not linked to AI Units. Also, the endpoint must match the key’s region. For Community Plan users without AI Units, this OCR engine won’t work.
For more pls check,
Activities - UiPath Document OCR

@lingi,

It’s good to get it via official feed. You can request the network team to whitelist the URL.

As far as I know, there is no site except UiPath’s feed in official.
We can also download it using the following URL directly. So can you try to download it by other borwser/PC, then transfer it into your UiPath’s machine?

https://pkgs.dev.azure.com/uipath/5b98d55c-1b14-4a03-893f-7a59746f1246/_packaging/1c781268-d43d-45ab-9dfc-0151a1c740b7/nuget/v3/flat2/uipath.documentunderstanding.ocr.localserver/1.5.1/uipath.documentunderstanding.ocr.localserver.1.5.1.nupkg

Regards,

Hi @ashokkarale, will do!

Hi @Yoichi, thank you for your help! Managed to install that package and UiPath Document OCR is able to run locally :smiley:

2 Likes

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