Internal error creating alerts with Microsoft Teams integration
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Install the MS Teams integration with a personal account (Microsoft Tenant)
- Create a new alert
- Add an action to send an alert to the MS Teams integration
- Save the alert
Expected Result
The alert is saved and notifications are sent to the MS tenant.
Actual Result
"Unknown error while saving" error appears in the UI:
The error happens when MS returns a 400 status code response to Sentry:
ApiInvalidRequestError
{"error":{"code":"BadSyntax","message":"Bad format of conversation ID"}}
This works correctly when selecting a Team:
Product Area
Settings - Integrations
Link
No response
DSN
No response
Version
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Settings - Integrations alert-creation and Microsoft Teams integration paths, tracing the save request when a personal Microsoft tenant is selected. Reproduce the reported Bad format of conversation ID response and compare it with the working Team selection flow. Done means personal-account alerts save successfully and notifications are sent without the current UI error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100