Reading PDF with OCR - Uipath Document OCR

Hello!

I am getting this error for Read PDF with OCR activity

Read PDF With OCR: Request CorrelationId: 2de0fa32-74cf-4970-b757-12fabd50eb1d
Request PredictionId:
Error performing OCR: Server response: Invalid API key specified Error:UiPathOCRInvalidApiKey CF-RAY: cid-v1:354c7cb9-ae5a-4d16-84a7-f13242bbac6d. AppId:

What do I need to use in APIKey?

Can anyone guide?

Note : Tesseract engine is working, but I could not extract the correct text - few characters are omitted in the extracted text- If you can suggest to improve the accuracy, it would be helpful too.

Hi @Ranveer_S_Thakur

You need to copy the API Key of Document Understanding and use it in UiPath Document OCR.

To get the API Key, follow below steps:
Go to Admin → Licenses → Robot and Services → copy the key.

Hope it helps!!

Hi @Ranveer_S_Thakur

Remove the OCR and drag and drop again and check it should be API present. Or try with UiPath Document OCR.
Happy Automation

Hello @Parvathy

We are still using On_Prem Setup

I don’t see Robot and Services in License Page

Best regards,
Ranveer

Hello @prashant1603765

I tried to remove and add again. It still like this

Best regards,
Ranveer

If you aren’t using cloud and/or don’t have an API key for it, install the UiPath.DocumentUnderstanding.LocalServer package and set the project settings and/or activity to “use local server = true”. Then it’ll do the OCR locally.

1 Like

It is working, thanks!

1 Like

You’re welcome. Please mark my reply as your solution.

1 Like

Aww sweet’

My team and me like to use Digitize Document to read PDF text when possible.

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