Hi,
I was hoping if I can get an help in understanding an issue as outlined below.
I have created a custom connector and now trying to list records from Custom Builder option in web studio as below.
I tried deserialize Json Array but it didn’t helped as always getting error as below
2023-10-09 16:25:46.110 GMT+1: Error: System.AggregateException: One or more errors occurred. (Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path ‘’, line 1, position 1.)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result()
at UiPath.BAF.Activities.BAFAsyncCodeActivity1.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) Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1. at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JArray.Parse(String json) at UiPath.IntegrationCore.Services.ListService.Get[T](T connection, BusinessEntity businessEntity, CancellationToken cancellationToken) at UiPath.IntegrationCore.Services.ListService.ListAllRecordsAsync[T](T connection, BusinessEntity businessEntity, CancellationToken cancellationToken) at UiPath.IntegrationCore.Activities.ListAllRecordsBase.InvokeServiceAsync(ScopeActivityContext context, CancellationToken cancellationToken) at UiPath.BAF.Activities.CrudActivityBase.ExecuteAsync(AsyncCodeActivityContext context, TelemetryOperation operation, CancellationToken cancellationToken) at UiPath.IntegrationCore.Activities.APIOperationBase.ExecuteAsync(AsyncCodeActivityContext context, TelemetryOperation operation, CancellationToken cancellationToken) at UiPath.BAF.Activities.CrudActivityBase.<>c__DisplayClass13_0.<<BeginExecute>b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.BAF.Telemetry.TelemetryServiceBase.OperationContextAsync[T](TelemetryProperties telemetryProperties, Func
2 method, IDictionary`2 activityTelemetryProperties, BusinessEntity businessEntity)