Skip to content

'str' object has no attribute 'error' #401

Description

@MrTin

Describe the bug
December 6-7 we would see this exception thrown a few hundred calls per day. They stopped for a while but reappeared again on Jan 2. It also looks like APIs were completely down for about 15 minutes yesterday, as we could see another exception with Bad Gateway: The upstream server is unavailable, please try again... during that shorter timeframe.

Screenshot 2025-01-03 at 09 47 47

To Reproduce
This seems to be random with intermittent issues on the Nylas API itself.

Expected behavior
Better exception handling and bubble up a more descriptive error that we can use to handle this case.

SDK Version:
6.4.0

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