oci-dotnet-sdk
oci-dotnet-sdk copied to clipboard
Unknown HttpResponseMessages in GenericRetrier.ShoulRetryOnHttpResponse
Hi!
I'm trying to parallelize access to resources with IdentityDomainsClient and sometimes getting unknown responses from the api so the SDK fails with weird exceptions at Oci.Common.Http.Internal.ResponseHelper.HandleNonSuccessfulResponse:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0System.InvalidCastException: Unable to cast object of type 'System.String' to type 'ErrorCodeAndMessage'
Has anyone else encountered these errors? would love some help!
I can provide a fuller stack trace if needed
Thanks!
Still happening in newer versions. I suspect it's a backend issue sending the response not in the way the client (my app) requests.