sentry
sentry copied to clipboard
Intermittent Internal Error when resolving issues through API
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Use REST API to resolve an issue with request
PUT /api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/and payload:
{ "status": "resolvedInNextRelease" }
- The REST API sometimes return an internal error response:
"detail": "Internal Error",
"errorId": "0a1a6e14bffc46d182507727900c5f3c"
Expected Result
The API should return a 200 result in case of successful issue update, or a proper error code in case of invalid input.
Actual Result
The API returns an Internal Error. Support has it that this error has been triggered by a list index out of range error on https://github.com/getsentry/sentry/blob/957585118dfd25132769bccfdb8d9828ab7eb718/src/sentry/api/helpers/group_index/update.py#L275
Product Area
APIs
Link
No response
DSN
No response
Version
No response
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-apis for triage ⏲️