I am trying to send some files through the DU framework but am getting the following error at the digitization step:
RemoteException wrapping System.Exception: Error performing OCR: {“info”: “Prediction Failed”, “reason”: “{"message": "Service Exception 400: InvalidRequest - pages structure does not follow specified interface: ", "stacktrace": "\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/model/bin/uipath_core/plugin.py\", line 248, in model_predict_event\n result, metrics = self.model.predict_with_metadata(model_data, metadata = model_metadata)\n File \"/workspace/model/microservice/main.py\", line 58, in predict_with_metadata\n response, telemetry = service_internal.predict(context, doctype_name=model_name or self.doctype_name)\n File \"\", line 229, in predict\n File \"\", line 218, in get_pages\n File \"\", line 203, in validate_pages_structure\nutil.misc.ServiceException: Service Exception 400: InvalidRequest - pages structure does not follow specified interface: "}”} UiPathOCRErrorInvalidResponse —> RemoteException wrapping UiPath.Vision.OCR.OCRException: {“info”: “Prediction Failed”, “reason”: “{"message": "Service Exception 400: InvalidRequest - pages structure does not follow specified interface: ", "stacktrace": "\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/model/bin/uipath_core/plugin.py\", line 248, in model_predict_event\n result, metrics = self.model.predict_with_metadata(model_data, metadata = model_metadata)\n File \"/workspace/model/microservice/main.py\", line 58, in predict_with_metadata\n response, telemetry = service_internal.predict(context, doctype_name=model_name or self.doctype_name)\n File \"\", line 229, in predict\n File \"\", line 218, in get_pages\n File \"\", line 203, in validate_pages_structure\nutil.misc.ServiceException: Service Exception 400: InvalidRequest - pages structure does not follow specified interface: "}”} UiPathOCRErrorInvalidResponse
at UiPath.OCR.Core.ImageAnnotatorService.d__8.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.OCR.Core.UiPathCloudOCRExternalEngine.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.OCR.Core.UiPathCloudOCREngine.d__6.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.OCR.Engine.BaseEngine.d__20.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Core.OcrEngineRunner.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Vision.Host.Service.HostServiceWithRefContext.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__22.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass4_2.<<-ctor>b__6>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__12.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__18`1.MoveNext()
— End of inner exception stack trace —
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I have ensured the endpoint I am using is correct and have tried many documents. All of them return this error. Any help would be appreciated.