Skip to content

RequestsJSONDecodeError returned when nylas has a 502 #402

Open
@ilya-tkachov

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

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