RequestsJSONDecodeError returned when nylas has a 502
還沒有人認領這個 Issue。
評估
研究方向
先透過 messages.list 重現 502 回應,然後追蹤 SDK 的回應與例外處理,找出 RequestsJSONDecodeError 在哪裡逸出。檢查現有測試是否涵蓋非 JSON 的伺服器錯誤。完成的標準是 502 改為產生 NylasApiError,並為該行為提供回歸測試涵蓋。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- 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 於 2 天前認領。 未關閉
難度 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 於 277 天前認領,目前沒有進行中的 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
-
難度 2/5 1-3 小時 新手友好度 77/100
mihai-vlc/sublime-jsfmt#56 ·
-
comp/cli comp/plugins P2 type/bug
難度 2/5 1-3 小時 新手友好度 75/100
NousResearch/hermes-agent#141917 · 1 則留言 ·
維護者通常 1 天內回覆
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()可能已有人在做 @apoorvdarshan 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
BasedHardware/omi#22770 ·
維護者通常 1 天內回覆
-
bug needs-acceptance wg/router-models-inference-runtime
難度 2/5 1-3 小時 新手友好度 66/100
vllm-project/semantic-router#5295 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
huggingface/huggingface_hub#5210 ·
維護者通常 1 天內回覆