Exception thrown in Microsoft Azure Computer Vision OCR

Getting an Exception while trying to read a PDF for a handwritten texts to extract in a workflow using MICROSOFT AZURE COMPUTER VISION OCR.

Pls help me to resolve it. Below are the details of exception

RemoteException wrapping System.Exception: Error performing OCR: MicrosoftAzureComputerVisionErrorRunEngine ā€”> RemoteException wrapping System.ServiceModel.FaultException: MicrosoftAzureComputerVisionErrorRunEngine
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation,
ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action,
Object outs,
IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass7_01.<CreateGenericTask>b__0(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar,
Func2 endFunction, Action1 endAction,
Task`1 promise,
Boolean requiresSynchronization)
ā€” End of stack trace from previous location where exception was thrown ā€”
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.VisionClient.d__5.MoveNext()
ā€” End of inner exception stack trace ā€”
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context,
Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

1 Like

Iā€™m getting the exact same thing. Anyone found a solution to this? Thanks!

Phil

For example if your endpoint is https://westcentralus.api.cognitive.microsoft.com/vision/v1.0
than instead of using the complete endpoint pass on the value till the .com i.e https://westcentralus.api.cognitive.microsoft.com/

Endpoint: https://westcentralus.api.cognitive.microsoft.com/
Key : 6876382176873621687hdkjahsd89217 - This is an example.

These details you can find in your account.

This should solve the issue.

1 Like

Its working now. Thank you for your solution.