-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I got this error when the response of the request was a 401. There's no content then so the ShouldRetryWebAPI fails with a JSON parse error.
Full Stack
AggregateException: One or more errors occurred. (Error reading JObject from JsonReader. Path '', line 0, position 0.)
JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.Stack Trace:
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.ShouldRetryWebAPI(Exception ex, Int32 retryCount, Boolean& isThrottlingRetry) at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.Command_WebExecuteAsync(String queryString, String body, HttpMethod method, Dictionary`2 customHeaders, String contentType, String errorStringCheck, Guid requestTrackingId)
at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.Command_WebAPIProcess_ExecuteAsync(OrganizationRequest req, String logMessageTag, Boolean bypassPluginExecution, CancellationToken cancellationToken)
