Skip to content

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

@ammu2288

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.

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