'str' object has no attribute 'error'
还没有人认领这个 Issue。
评估
调研方向
首先调查 SDK 6.4.0 中 Nylas API 的失败路径,以及报告的 "'str' object has no attribute 'error'" 异常。跟踪间歇性 Bad Gateway 响应的处理方式;完成标准是针对该失败抛出描述性异常,而不是当前的属性错误。
由索引模型根据 Issue 内容生成。
描述
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.
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
- 主要语言
- Python
- 星标
- 109
- 派生
- 85
- 平均合并
- 8 小时 41 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nylas/nylas-python 的其他 Issue
-
Attachment downloads ignore request URL and header overrides可能已有人在做 @Kayvan-Zahiri 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 39/100
nylas/nylas-python#491 ·
-
bug
难度 2/5 1-3 小时 新手友好度 48/100
nylas/nylas-python#455 ·
-
Bug: drafts.create() fails with TypeError for multipart requests (attachments > 3MB)可能已有人在做 @benjaminwhtan 于 266 天前认领。 未关闭
nylas/nylas-python#454 · 3 条评论 · 已指派 1 人 ·
-
UnicodeEncodeError when sending e-mails with some iso-8859 characters (€ symbol)可能重新可做 @pengfeiye 于 276 天前认领,目前没有进行中的 PR。 未关闭bug
nylas/nylas-python#448 · 1 条评论 · 已指派 2 人 ·
-
Create an async version of the client可能重新可做 @AaronDDM 于 495 天前认领,目前没有进行中的 PR。 未关闭enhancement
nylas/nylas-python#412 · 1 条评论 · 5 个 reaction · 已指派 1 人 ·
查看 nylas/nylas-python 的全部 Issue
相似的 Issue
-
Pull-through from gcr.io returns 500 when pulling using podman/buildah可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Issue Triage-Needed
难度 2/5 1-3 小时 新手友好度 68/100
pulp/pulp_container#2581 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4040 ·
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
ClanGenOfficial/clangen#6313 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug(trainer): CustomTrainer func_args with non literal values fail inside the TrainJob可能已有人在做 @avanishkasar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复