Present Validation Station Activity Error

Hello Guys,
This Error occurs when i use this activity.

  • List item Below Error(In short Message was display is error trying to create optimized pdf)

Error
RemoteException wrapping UiPath.SmartData.ValidationStation.PDF.Optimization.Exceptions.PdfOptimizationFailedException: Error trying to create optimized pdf —> RemoteException wrapping System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: pageIndex
at .(Int32 )
at .get_(Int32 pageIndex)
at `2.get_(Int32 index)
at UiPath.SmartData.ValidationStation.PDF.Optimization.PdfOptimizer.CreateOptimizedPdf(Stream input,
Stream output,
TokenizedDocument document,
OperationContext context,
ScalingConfiguration scalingConfiguration)
at UiPath.SmartData.ValidationStation.PDF.Optimization.Processors.ImageProcessor.CreateOptimizedPdf(Stream input,
Stream output,
TokenizedDocument document,
OperationContext context)
at UiPath.SmartData.ValidationStation.PDF.Optimization.DefaultOptimizedPdfBuilder.d__4.MoveNext()
— 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.SmartData.ValidationStation.PDF.Optimization.DefaultOptimizedPdfBuilder.d__3.MoveNext()
— End of inner exception stack trace —
at UiPath.SmartData.ValidationStation.PDF.Optimization.DefaultOptimizedPdfBuilder.d__3.MoveNext()
— 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.SmartData.ValidationStation.Host.Local.ValidationStationPresenter.d__6.MoveNext()
— 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.SmartData.ValidationStation.Host.Local.ValidationStationPresenter.d__5.MoveNext()
— 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.SmartData.ValidationStation.Host.Local.ValidationStationPresenter.d__3.MoveNext()
— 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.IntelligentOCR.Activities.ValidationStation.PresentValidationStation.d__24.MoveNext()
— End of stack trace from previous location where exception was thrown —
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.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)

Did you fill all the input properties?

Yes @ercanebiler i fill all the input

@Urvin_Sanghavi There is a Data Extraction Scope above right? There should be an output “ExtractionResult”. You should type that output to “AutomaticExtractionResults” inside of “Present Validation Station”.

Try that and let me know.

HI I have Data Extraction scope with microsoft ocr and able to get the invoice content when displayed in message box but present Validation Station window is not opening and facing the same error as mentioned above please can help me through this