GoogleOCR The invocation of the constructor on type

Getting this error while Publishing to Orchestrator from Studio during the Workflow Analyzer. Even when I turn off Workflow Analyzer on Publish, this error persists. ANY ideas??

Error: Could not load file C:\Users\Administrator\Documents\UiPath\ChartUpload\abc.xaml. Reason: The invocation of the constructor on type ‘UiPath.Core.Activities.GoogleOCR’ that matches the specified binding constraints threw an exception.

Hi @srenj

Please check whether the GoogleOCR package is downloaded or not. Also try deleting & reinstalling the package. Make sure the specified xaml is present in the mentioned location.

Hope this helps,
Best Regards.

Hi @srenj,

  • Check the dependencies: Ensure that all the required packages and dependencies are installed and up-to-date in both Studio and Orchestrator. You can try updating the Google OCR package to the latest version or reinstalling it.
  • Check the activity settings: Ensure that the Google OCR activity is configured correctly and all the required properties are set. Check if the activity requires any input or output parameters that are not provided.
  • Check the version compatibility: Ensure that the Google OCR activity is compatible with the version of UiPath Studio and Orchestrator you are using. You can check the compatibility matrix on the UiPath website to ensure that the versions of the activity and UiPath platform are compatible.

I’m facing the same issue. Publishing was working fine then next minute after update it broke it after the update to the latest beta. I’m on community version. There is a package called UiPath.Core.Activities.GoogleOCR inside of UiPath.UIAutomation.Activities which is the Tesseract OCR , any help is appreciated.

did you solve it? I have same issue

No I just updated UiPath and still having the same issue. @Rosca_Marius

Same issue when i update UiPath to version 2023.2.0 Comunity
Any one have solution for this error ?

I made update from Legacy to Windows project, and only this way i solve it.

UiPath needs to update their package. I am unable to upgrade to windows project without breaking a lot of the RPA process.