Getting the error for invoke workflow in UAT server

Stack trace

message: “Exception at flow of repository=Error in PDF format StackTrace= at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Source=System.Activities”

level: “Error”

Cant recognize the error .


The stacktrace will only show you what path the code behind the UiPath activity took, that will not be so helpful.
You would rather want to track the exception source a explained on this post.

One thing I like to do is to add it as exception details (from the transaction) in the orchestrator, which simplify troubleshooting later.