Hello!
I’m getting the following error when run the activity “wait for form task and resume”:
"Type ‘Newtonsoft.Json.Linq.JToken’ is a recursive collection data contract which is not supported. Consider modifying the definition of collection ‘Newtonsoft.Json.Linq.JToken’ to remove references to itself.
RemoteException wrapping System.Runtime.Serialization.InvalidDataContractException: Type ‘Newtonsoft.Json.Linq.JToken’ is a recursive collection data contract which is not supported. Consider modifying the definition of collection ‘Newtonsoft.Json.Linq.JToken’ to remove references to itself.
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, Boolean isStillSync)
at System.Activities.WorkflowApplication.EventFrame(IAsyncResult result)"
I search here and found the link below with the similar error, tried the solution of this issue, but the error persists.
My environment is:
- Windows Server 2016 Standard
- .NET Framework v4.0.30319
- UiPath Studio 2021.10.4
- Project type: Windows Legacy
- Project Properties: Starts in background, Supports Persistence and Modern Design Experience enabled
- Dependencies of this project:
- UiPath.Excel.Activities = 2.11.4
- UiPath.Form.Activities = 1.8.0
- UiPath.Form.ActivityLibrary = 1.8.0
- UiPath.Mail.Activities = 1.12.3
- UiPath.Persistence.Activities = 1.3.2
- UiPath.System.Activities = 21.10.4
- UiPath.UIAutomation.Activities = 21.10.5
- UiPath.WebAPI.Activities = 1.9.2
Thanks a lot,