Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Dec 17, 2025

Fixes an issue where the Sentry CLI serializes project IDs as strings, but the API only accepted them as integers.

I have manually tested this change locally using Sentry CLI and the fix works as intended.

Changes

Bug Fix:

  • Modified the organization releases endpoint to accept project IDs in string format in addition to integers and slugs
  • Added test coverage to verify project IDs can be passed as strings, integers, or slugs

This improves compatibility with the Sentry CLI and other clients that serialize numeric IDs as strings in JSON payloads.

Fixes BE-612
See #105038

…oint

Sentry CLI serializes project IDs as strings, but the API only accepted them as integers. This change allows the API to accept project IDs in string format, improving compatibility with the CLI and other clients that serialize numeric IDs as strings.

Fixes [BE-612](https://linear.app/getsentry/issue/BE-612/fix-for-project-ids)
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner December 17, 2025 17:13
@linear
Copy link

linear bot commented Dec 17, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 17, 2025
@szokeasaurusrex szokeasaurusrex merged commit b098ac5 into master Dec 18, 2025
69 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/project-id-as-string branch December 18, 2025 13:48
@github-actions github-actions bot locked and limited conversation to collaborators Jan 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants