Skip to content

Unknown HttpResponseMessages in GenericRetrier.ShoulRetryOnHttpResponse #298

@ophirKatz

Description

@ophirKatz

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:

  1. Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0
  2. System.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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions