-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
When making bulk updates via the Sentry API to mark issues as resolved or unresolved, the request returns inconsistent results across different projects. Some requests succeed, while others return 502 Bad Gateway errors with the message:
upstream connect error or disconnect/reset before headers. reset reason: protocol error
Sample reqeust
curl -X PUT "https://sentry.io/api/0/projects/<Org>/<project>/issues/" \ -H "Authorization: Bearer XXXYYYZZZ" \ -H "Content-Type: application/json" \ -d '{ "status": "resolved" }'
Also, in some cases, the request succeeds (200 OK), but the UI does not reflect the status change.
The issues remain unresolved in the Sentry UI despite the API returning success.
Expected Result
-
The request should return a consistent and successful response across all projects when marking issues as resolved. If there is a limit, the docs should also reflect that.
-
The Sentry UI should reflect the status change when a request succeeds.
Actual Result
- The request intermittently fails with a 502 Bad Gateway error for multiple services.
- Error message received: "upstream connect error or disconnect/reset before headers. reset reason: protocol error"
- In some cases, a 200 OK response is received, but the status does not update in the Sentry UI.
Product Area
APIs
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Projects
Status