You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
sentry proguard upload: every upload fails assembly with "unsupported object file format" #1440
sentry proguard upload mapping.txt --log-level debug, with any R8/ProGuard mapping file.
Expected Result
The mapping assembles and a ProGuard DIF is created for the computed UUID, as legacy sentry-cli proguard upload does for the same file.
Actual Result
Every HTTP call returns 200, then assembly fails:
$ sentry proguard upload mapping.txt --log-level debug[debug] [http] GET /api/0/organizations/<org>/chunk-upload/ → 200[debug] [http] POST /api/0/projects/<org>/<project>/files/difs/assemble/ → 200Error: ProGuard mapping assembly failed Endpoint: projects/<org>/<project>/files/difs/assemble/ Invalid debug information file: unsupported object file format
This happens 100% of the time, for every mapping — no ProGuard DIF is ever created, so nothing symbolicates. Because every request is a 200 and the failure only appears inside the per-checksum detail field of the assemble response body, it presents as an auth, org/project, or corrupt-mapping problem rather than a payload bug.
Root cause.packages/cli/src/lib/api/proguard.ts builds the assemble body with:
name: `proguard/${cm.mapping.uuid}.txt`,
ProGuard/R8 mappings are plain text with no magic bytes, so Sentry identifies them purely by the /proguard/ prefix in the request name (sentry/src/sentry/models/debugfile.py):
Without the leading slash there is no match, ProGuard detection is skipped, and the file falls through to generic native-object parsing — Archive.open() on a text file raises, which surfaces as the error above. Legacy sentry-cli sends /proguard/{uuid}.txt (src/utils/proguard/mapping.rs), which is why the same mappings uploaded fine before switching CLIs.
Activity