Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating user messages subscription results in "...backend 'Unknown'" error #1880

Open
parlato-vooma opened this issue Feb 14, 2025 · 1 comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@parlato-vooma
Copy link

parlato-vooma commented Feb 14, 2025

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.

https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

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.

@parlato-vooma parlato-vooma added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Feb 14, 2025
@parlato-vooma
Copy link
Author

Ping on this - any insight into what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

1 participant