Creating user messages subscription results in "...backend 'Unknown'" error
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- typescript
- 領域
- api
研究方向
Start with the Microsoft Graph subscriptions API documentation linked in the issue and inspect the reported response through the SDK's GraphError.js path. No repository source file or test is identified, and reproduction depends on an unknown subset of users. Done would require establishing whether the SDK exposes or mishandles this service error, with a reproducible case or a clearly documented service-side finding.
由索引模型根據 Issue 內容生成。
描述
Describe the bug
I am trying to create a subscription for one of my customers' users, but it fails with an unexpected error. This seems rare and is isolated to very few users.
Expected behavior
Using the subscriptions API in the SDK results in success.
How to reproduce
Attempt to create a subscription for an impacted user (I do not know what constitutes an impacted user).
SDK Version
^3.0.7
Latest version known to work for scenario above?
No response
Known Workarounds
None
Debug output
Click to expand log
Error: Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource '<REDACTED_RESOURCE_ID>' hosted on database '<REDACTED_UUID>' is currently on backend 'Unknown']
at new GraphError (/app/node_modules/@microsoft/microsoft-graph-client/lib/src/GraphError.js:34:28)
at GraphErrorHandler.constructErrorFromResponse ...
Configuration
No response
Other information
Symptoms of the problem
Subscription fails to create for some users. This has repeatedly happened for the same user in the same organization (see error message). I have confirmed with our customer that there is nothing unique about that users' Microsoft Outlook account, and other users in their organization are able to use the Outlook subscription feature of our app just fine.
When did the problem begin?
Tue, Feb 4, 2025, 3:02 PM (UTC-08:00) Pacific Time (US & Canada)
Please provide additional details
We have many users using our Outlook subscription feature. The API has been quite buggy. The error here is the most severe and isn't not possible to overcome as far as we're aware. Additionally, the subscription endpoint sometimes hangs indefinitely and results in a 'request cancelled' error. This requires us to manually retry the creation of the subscription.
- 主要語言
- TypeScript
- 星號
- 833
- 分支
- 240
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoftgraph/msgraph-sdk-javascript 的其他 Issue
-
status:waiting-for-triage
難度 1/5 1 小時以內 新手友好度 62/100
-
Is anyone here? 未關閉
難度 4/5 3-5 天 新手友好度 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 個 reaction ·
-
status:waiting-for-triage
難度 5/5 一週以上 新手友好度 42/100
-
status:waiting-for-triage type:bug
難度 3/5 1-2 天 新手友好度 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 則留言 · 1 個 reaction ·
-
status:waiting-for-triage type:bug
難度 4/5 3-5 天 新手友好度 45/100
查看 microsoftgraph/msgraph-sdk-javascript 的全部 Issue
相似的 Issue
-
Browser Waiting for: Product Owner
難度 2/5 1-3 小時 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
agilepathway/label-checker#640 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
難度 1/5 1 小時以內 新手友好度 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
難度 2/5 1-3 小時 新手友好度 76/100
anomalyco/models.dev#7701 ·