Skip to content

RequestsJSONDecodeError returned when nylas has a 502 #402

Description

@ilya-tkachov

Describe the bug
When nylas has an internal server error, a RequestsJSONDecodeError is returned

To Reproduce
Run any API until nylas returns a 502...? The code for this specifically was running messages.list

// Helps us with reproducing the error :)

Expected behavior
Returns a NylasApiError instead of RequestsJSONDecodeError

SDK Version:
6.4.0

Additional context
Image

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions