Skip to content

Is there a way to read the error when the API fails? #48

Description

@ammu2288

Is there a way to read the error when the API fails?

I am using the APIs to get user info. But it randomly fails and throws the following error:
" appstoreconnect.api.APIError: An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/."

So the API calls fail without any warning or returning any reason.

Adding how to print the error object when the API fails in the example would be helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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