Read PDF With OCR errror

Hello,

I want to only read with ocr, what is the problem.

Hi @Murat ,

try using Read PDF Text. If it is native pdf, then you don’t need OCR at all.

If it is not, try using Export PDF Pages , and then apply Tesseract OCR or Microsoft OCR.

Hope it helps.

Thank you.

Hi @Murat

Can you please share which version of package you are using?

And is the dependency all good or showing any errors?

Try changing the version of the package and check.

Hi,

It seems your PDF package may be corrupted.
Can you try the following?

  • Update to the latest version of PDF package
  • If problem is not solved, try the following step.
  1. Close Studio
  2. Delete the following folder (or move it somewhere so it can be restored later)
    c:\Users\[UserName]\.nuget\packages
  3. Launch Studio and open the project. All the packages will be newly installed.

Regards,

Hi @Murat

This is not an OCR issue. The error means the UiPath PDF component license is invalid.

  1. Go to Manage Packages, uninstall UiPath.PDF.Activities, restart Studio, then install it again.
  2. Check Help → License and make sure Studio is properly signed in and licensed.
  3. Update UiPath.DocumentUnderstanding.Activities to the latest version.
  4. Close Studio, delete %localappdata%\UiPath, reopen Studio and sign in again.

Even if you only use OCR, Read PDF With OCR still requires a valid PDF license.

Hi @Murat

Read PDF With OCR always uses the Docotic PDF engine, even for OCR.
Your error occurs because Docotic is not licensed in your environment (DU / PDF activities dependency), not because of Tesseract.

Try the options:

  • Use Read Text With OCR (Classic) → works without Docotic license
  • OR install/enable Document Understanding (trial or paid)
  • OR downgrade to older PDF activities (Classic) if DU is not available

Regards,
Gokul

Hi @Murat

Just try to update the latest packages:

UiPath.OCR.Activities

You can also try with diff. diff. ocr engine .
Optional-
UiPath.OmniPage.Activities
UiPath.MicrosoftOCR.Activities
UiPath.GoogleCloudOCR.Activities
UiPath.Abbyy.Activities

Happy Automation

Hi Murat, try with below fixes

fix 1 :
Manage Packages
Uninstall:
UiPath.PDF.Activities
UiPath.DocumentUnderstanding
UiPath.OCR.Activities
Restart UiPath Studio
Reinstall in this order:
UiPath.DocumentUnderstanding
UiPath.OCR.Activities
UiPath.PDF.Activities

Fix 2:
Open Read PDF With OCR
Click Tesseract OCR
Ensure:
OCR Engine = Tesseract OCR
Language = eng
Do not leave it empty
Optional:
Try Microsoft OCR (if available)