Skip to content

upload sourcemap with 404 Err #3139

@liuxsen

Description

@liuxsen

CLI Version

2.58.4

Operating System and Architecture

  • macOS (arm64)
  • macOS (x86_64)
  • Linux (i686)
  • Linux (x86_64)
  • Linux (armv7)
  • Linux (aarch64)
  • Windows (i686)
  • Windows (x86_64)

Operating System Version

macos sequoia 15.5

Link to reproduction repository

No response

CLI Command

No response

Exact Reproduction Steps

#!/bin/sh
VERSION=npx sentry-cli releases propose-version
npx sentry-cli releases new "$VERSION"
npx sentry-cli sourcemaps upload dist --release "$VERSION" --log-level=debug

do your build steps here

once you are done, finalize

npx sentry-cli releases finalize "$VERSION"

Expected Results

Image

Actual Results

404

Logs

DEBUG 2026-02-09 20:02:00.045519 +08:00 json body: {"checksum":"14a10c7ec3a68997d15a95903f98a6ebe5caf0c8","chunks":["14a10c7ec3a68997d15a95903f98a6ebe5caf0c8"],"projects":["crm_front"],"version":"00c09b91189e2d92b206743e8986aeeb995973f8"}
DEBUG 2026-02-09 20:02:00.045523 +08:00 retry number 0, max retries: 5
DEBUG 2026-02-09 20:02:00.045626 +08:00 > POST /api/0/organizations/sentry/artifactbundle/assemble/ HTTP/1.1
DEBUG 2026-02-09 20:02:00.045630 +08:00 > Host: sentry.we.cn
DEBUG 2026-02-09 20:02:00.045633 +08:00 > Accept: /
DEBUG 2026-02-09 20:02:00.045635 +08:00 > Connection: TE
DEBUG 2026-02-09 20:02:00.045636 +08:00 > TE: gzip
DEBUG 2026-02-09 20:02:00.045638 +08:00 > User-Agent: sentry-cli/2.58.4
DEBUG 2026-02-09 20:02:00.045654 +08:00 > Authorization: Bearer sntryu_5***
DEBUG 2026-02-09 20:02:00.045656 +08:00 > Content-Type: application/json
DEBUG 2026-02-09 20:02:00.045658 +08:00 > Content-Length: 187
DEBUG 2026-02-09 20:02:00.366104 +08:00 < HTTP/1.1 200 OK
DEBUG 2026-02-09 20:02:00.366128 +08:00 < Date: Mon, 09 Feb 2026 12:02:00 GMT
DEBUG 2026-02-09 20:02:00.366136 +08:00 < Content-Type: application/json
DEBUG 2026-02-09 20:02:00.366142 +08:00 < Content-Length: 82
DEBUG 2026-02-09 20:02:00.366146 +08:00 < Connection: keep-alive
DEBUG 2026-02-09 20:02:00.366151 +08:00 < Allow: POST, OPTIONS
DEBUG 2026-02-09 20:02:00.366156 +08:00 < Access-Control-Allow-Methods: POST, OPTIONS
DEBUG 2026-02-09 20:02:00.366163 +08:00 < Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
DEBUG 2026-02-09 20:02:00.366168 +08:00 < Access-Control-Expose-Headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
DEBUG 2026-02-09 20:02:00.366174 +08:00 < Access-Control-Allow-Origin: *
DEBUG 2026-02-09 20:02:00.366178 +08:00 < Vary: Accept-Language, Cookie
DEBUG 2026-02-09 20:02:00.366182 +08:00 < Content-Language: en
DEBUG 2026-02-09 20:02:00.366186 +08:00 < X-Frame-Options: deny
DEBUG 2026-02-09 20:02:00.366190 +08:00 < X-Content-Type-Options: nosniff
DEBUG 2026-02-09 20:02:00.366194 +08:00 < X-XSS-Protection: 1; mode=block
DEBUG 2026-02-09 20:02:00.366199 +08:00 < Content-Security-Policy-Report-Only: style-src 'unsafe-inline' *; font-src 'self' data:; base-uri 'none'; default-src 'none'; object-src 'none'; img-src blob: data: *; script-src 'self' 'unsafe-inline' 'report-sample'; frame-ancestors 'none'; media-src *; worker-src 'none'; connect-src 'self' .algolia.net .algolianet.com .algolia.io
DEBUG 2026-02-09 20:02:00.366205 +08:00 < X-Frame-Options: SAMEORIGIN
DEBUG 2026-02-09 20:02:00.366209 +08:00 < Strict-Transport-Security: max-age=15724800; includeSubDomains
DEBUG 2026-02-09 20:02:00.366232 +08:00 body: {"state":"not_found","missingChunks":["14a10c7ec3a68997d15a95903f98a6ebe5caf0c8"]}
INFO 2026-02-09 20:02:00.366298 +08:00 using 'gzip' compression for chunk upload
DEBUG 2026-02-09 20:02:00.479253 +08:00 using token authentication
DEBUG 2026-02-09 20:02:00.479441 +08:00 sending form data
DEBUG 2026-02-09 20:02:00.479478 +08:00 retry number 0, max retries: 5
DEBUG 2026-02-09 20:02:00.480432 +08:00 > POST /api/0/sentry.we.cn/api/0/organizations/sentry/chunk-upload/ HTTP/1.1
DEBUG 2026-02-09 20:02:00.480447 +08:00 > Host: sentry.we.cn
DEBUG 2026-02-09 20:02:00.480468 +08:00 > Accept: /
DEBUG 2026-02-09 20:02:00.480489 +08:00 > Connection: TE
DEBUG 2026-02-09 20:02:00.480509 +08:00 > TE: gzip
DEBUG 2026-02-09 20:02:00.480520 +08:00 > User-Agent: sentry-cli/2.58.4
DEBUG 2026-02-09 20:02:00.480605 +08:00 > Authorization: Bearer sntryu_5

DEBUG 2026-02-09 20:02:00.480614 +08:00 > Content-Length: 6779450
DEBUG 2026-02-09 20:02:00.480632 +08:00 > Content-Type: multipart/form-data; boundary=------------------------d0TLY6vh3c4xt4aJj2mKnw
DEBUG 2026-02-09 20:02:06.734994 +08:00 < HTTP/1.1 404 Not Found
DEBUG 2026-02-09 20:02:06.735249 +08:00 < Date: Mon, 09 Feb 2026 12:02:06 GMT
DEBUG 2026-02-09 20:02:06.735423 +08:00 < Content-Type: text/html; charset=utf-8
DEBUG 2026-02-09 20:02:06.738883 +08:00 < Content-Length: 0
DEBUG 2026-02-09 20:02:06.739626 +08:00 < Connection: keep-alive
DEBUG 2026-02-09 20:02:06.739701 +08:00 < Allow: OPTIONS
DEBUG 2026-02-09 20:02:06.739820 +08:00 < Access-Control-Allow-Methods: OPTIONS
DEBUG 2026-02-09 20:02:06.740076 +08:00 < Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization, Content-Encoding, sentry-trace, baggage, X-CSRFToken
DEBUG 2026-02-09 20:02:06.740236 +08:00 < Access-Control-Expose-Headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
DEBUG 2026-02-09 20:02:06.741072 +08:00 < Access-Control-Allow-Origin: *
DEBUG 2026-02-09 20:02:06.741408 +08:00 < Vary: Accept-Language, Cookie
DEBUG 2026-02-09 20:02:06.741692 +08:00 < Content-Language: en
DEBUG 2026-02-09 20:02:06.742351 +08:00 < X-Frame-Options: deny
DEBUG 2026-02-09 20:02:06.742484 +08:00 < X-Content-Type-Options: nosniff
DEBUG 2026-02-09 20:02:06.743152 +08:00 < X-XSS-Protection: 1; mode=block
DEBUG 2026-02-09 20:02:06.743215 +08:00 < Content-Security-Policy-Report-Only: style-src 'unsafe-inline' *; font-src 'self' data:; base-uri 'none'; default-src 'none'; object-src 'none'; img-src blob: data: *; script-src 'self' 'unsafe-inline' 'report-sample'; frame-ancestors 'none'; media-src *; worker-src 'none'; connect-src 'self' *.algolia.net *.algolianet.com *.algolia.io
DEBUG 2026-02-09 20:02:06.743326 +08:00 < Strict-Transport-Security: max-age=15724800; includeSubDomains
DEBUG 2026-02-09 20:02:06.743457 +08:00 body:
error: API request failed

Caused by:
sentry reported an error: not found (http status: 404)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions