nylas-python icon indicating copy to clipboard operation
nylas-python copied to clipboard

'str' object has no attribute 'error'

Open MrTin opened this issue 1 year ago • 0 comments

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

MrTin avatar Jan 03 '25 09:01 MrTin