getsentry / getsentry/sentry

Internal error creating alerts with Microsoft Teams integration

Open
#119,800 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Improvement Product Area: Settings - Integrations
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
  1. Install the MS Teams integration with a personal account (Microsoft Tenant)
  2. Create a new alert
  3. Add an action to send an alert to the MS Teams integration
  4. 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:
Image

The error happens when MS returns a 400 status code response to Sentry:

ApiInvalidRequestError
{"error":{"code":"BadSyntax","message":"Bad format of conversation ID"}}

Link to error.

This works correctly when selecting a Team:
Image

Product Area

Settings - Integrations

Link

No response

DSN

No response

Version

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.