Skip to content

Snapshots fail to upload #3337

Description

@Just-Insane

CLI Version

3.5.1

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

ubuntu-latest

Link to reproduction repository

https://github.com/CloudHub-Social/Charm/actions/runs/27839433267/job/82394910522?pr=193

CLI Command

sentry-cli snapshots upload .artifacts/sentry-snapshots --app-id charm-web-preview --log-level debug

Exact Reproduction Steps

Clone the repository above and run the .github/workflows/sentry-snapshots.yml workflow/action at 635c325

Expected Results

I expected the CLI to upload snapshots to Sentry and return a success message.

Actual Results

The CLI displayed the following error and exited:

error: could not parse JSON response

Caused by:
    missing field `objectstore` at line 1 column 140

Error: Process completed with exit code 1.

Logs

Run pnpm dlx @sentry/cli@3.5.1 snapshots upload "$PLAYWRIGHT_SNAPSHOT_OUTPUT_DIR" --app-id charm-web-preview --log-level debug
pnpm dlx @sentry/cli@3.5.1 snapshots upload "$PLAYWRIGHT_SNAPSHOT_OUTPUT_DIR" --app-id charm-web-preview --log-level debug
shell: /usr/bin/bash -e {0}
env:
PLAYWRIGHT_SNAPSHOT_OUTPUT_DIR: .artifacts/sentry-snapshots
SENTRY_SNAPSHOTS_ENABLED: true
VITE_SENTRY_DSN: ***
VITE_SENTRY_ENVIRONMENT: preview
VITE_SENTRY_PR: 193
VITE_SENTRY_TOOLBAR: true
VITE_SENTRY_ORGANIZATION: ***
VITE_SENTRY_PROJECT: ***
SENTRY_AUTH_TOKEN: ***
SENTRY_ORG: ***
SENTRY_PROJECT: ***
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +7
+++++++
Progress: resolved 14, reused 4, downloaded 3, added 7, done
.../node_modules/@sentry/cli postinstall$ node ./scripts/install.js
.../node_modules/@sentry/cli postinstall: Done
DEBUG 2026-06-19 17:19:50.017343740 +00:00 sentry-cli version: 3.5.1, platform: "linux", architecture: "x86_64"
INFO 2026-06-19 17:19:50.017860875 +00:00 sentry-cli was invoked with the following command line: "/home/runner/.cache/pnpm/dlx/74628f444a79a98fa54bcad58eaf7f87de22d1f38fc17c570c8d70fd0df845b9/19ee0e56094-111e/node_modules/.pnpm/@sentry+cli-linux-x64@3.5.1/node_modules/@sentry/cli-linux-x64/bin/sentry-cli" "snapshots" "upload" ".artifacts/sentry-snapshots" "--app-id" "charm-web-preview" "--log-level" "debug"
DEBUG 2026-06-19 17:19:50.018395503 +00:00 Using GitHub Actions PR head SHA from event payload: 635c3257160e1154a329d2f52ce213c1cb2ba3fb
DEBUG 2026-06-19 17:19:50.020304617 +00:00 Auto-detected head ref from GitHub Actions PR: codex/issue-186-mobile-shell
DEBUG 2026-06-19 17:19:50.020316589 +00:00 Auto-detected base ref from GitHub Actions: integration
DEBUG 2026-06-19 17:19:50.020452933 +00:00 Found remote 'origin': https://github.com/CloudHub-Social/Charm
DEBUG 2026-06-19 17:19:50.020467992 +00:00 Found base repository name: CloudHub-Social/Charm
DEBUG 2026-06-19 17:19:50.020962274 +00:00 Using GitHub Actions PR base SHA from event payload: 0b0889bea223148c4214e96b8c12574ab19b33ac
DEBUG 2026-06-19 17:19:50.020977583 +00:00 Auto-detected PR number from GitHub Actions: 193
DEBUG 2026-06-19 17:19:50.020981781 +00:00 Scanning for images in: .artifacts/sentry-snapshots
DEBUG 2026-06-19 17:19:50.020987061 +00:00 Organization: ***
DEBUG 2026-06-19 17:19:50.020990417 +00:00 Project: ***

Found 7 image files
Processing 7 image files
DEBUG 2026-06-19 17:19:50.021732462 +00:00 using token authentication
DEBUG 2026-06-19 17:19:50.021748402 +00:00 retry number 0, max retries: 5
DEBUG 2026-06-19 17:19:50.088637626 +00:00 > GET /api/0/projects///preprodartifacts/snapshots/upload-options/ HTTP/1.1
DEBUG 2026-06-19 17:19:50.088655419 +00:00 > Host: sentry.io
DEBUG 2026-06-19 17:19:50.088658525 +00:00 > Accept: /
DEBUG 2026-06-19 17:19:50.088661210 +00:00 > User-Agent: sentry-cli/3.5.1
DEBUG 2026-06-19 17:19:50.088988901 +00:00 > Authorization: ***
DEBUG 2026-06-19 17:19:50.458025291 +00:00 < HTTP/1.1 302 Found
DEBUG 2026-06-19 17:19:50.458050057 +00:00 < server: nginx
DEBUG 2026-06-19 17:19:50.458055808 +00:00 < date: Fri, 19 Jun 2026 17:19:50 GMT
DEBUG 2026-06-19 17:19:50.458061548 +00:00 < content-type: application/json
DEBUG 2026-06-19 17:19:50.458065997 +00:00 < location: /api/0/projects/***/charm/preprodartifacts/snapshots/upload-options/
DEBUG 2026-06-19 17:19:50.458069874 +00:00 < allow: GET, HEAD, OPTIONS
DEBUG 2026-06-19 17:19:50.458073120 +00:00 < access-control-allow-methods: GET, HEAD, OPTIONS
DEBUG 2026-06-19 17:19:50.458082397 +00: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-06-19 17:19:50.458086635 +00:00 < access-control-expose-headers: X-Sentry-Error, X-Sentry-Direct-Hit, X-Hits, X-Max-Hits, Endpoint, Retry-After, Link
DEBUG 2026-06-19 17:19:50.458133653 +00:00 < access-control-allow-origin: *
DEBUG 2026-06-19 17:19:50.458140876 +00:00 < x-sentry-rate-limit-remaining: 39
DEBUG 2026-06-19 17:19:50.458146647 +00:00 < x-sentry-rate-limit-limit: 40
DEBUG 2026-06-19 17:19:50.458152197 +00:00 < x-sentry-rate-limit-reset: 1781889591
DEBUG 2026-06-19 17:19:50.458158620 +00:00 < x-sentry-rate-limit-concurrentremaining: 24
DEBUG 2026-06-19 17:19:50.458164330 +00:00 < x-sentry-rate-limit-concurrentlimit: 25
DEBUG 2026-06-19 17:19:50.458169269 +00:00 < vary: Accept-Language, Cookie
DEBUG 2026-06-19 17:19:50.458174589 +00:00 < content-language: en
DEBUG 2026-06-19 17:19:50.458191822 +00:00 < x-frame-options: deny
DEBUG 2026-06-19 17:19:50.458197512 +00:00 < x-content-type-options: nosniff
DEBUG 2026-06-19 17:19:50.458203203 +00:00 < x-xss-protection: 1; mode=block
DEBUG 2026-06-19 17:19:50.458213552 +00:00 < cross-origin-opener-policy-report-only: same-origin; report-to="coop-endpoint"
DEBUG 2026-06-19 17:19:50.458219133 +00:00 < report-to: {"group":"coop-endpoint","max_age":86400,"endpoints":[{"url":"https://sentry-coop-302178938983.us-central1.run.app/coop"}]}
DEBUG 2026-06-19 17:19:50.458229031 +00:00 < content-security-policy: frame-ancestors 'self' *.sentry.io; media-src *; img-src * blob: data:; frame-src app.pendo.io demo.arcade.software js.stripe.com sentry.io 'self' intercom-sheets.com www.intercom-reporting.com; script-src 'self' 'unsafe-inline' 'report-sample' s1.sentry-cdn.com js.sentry-cdn.com browser.sentry-cdn.com statuspage-production.s3.amazonaws.com static.zdassets.com aui-cdn.atlassian.com connect-cdn.atl-paas.net js.stripe.com 'strict-dynamic' cdn.pendo.io data.pendo.io pendo-io-static.storage.googleapis.com pendo-static-5634074999128064.storage.googleapis.com app.intercom.io widget.intercom.io js.intercomcdn.com; worker-src blob:; style-src * 'unsafe-inline'; connect-src 'self' *.algolia.net .algolianet.com .algolia.io browser.sentry-cdn.com sentry.io .sentry.io s1.sentry-cdn.com o1.ingest.sentry.io api2.amplitude.com app.pendo.io data.pendo.io reload.getsentry.net t687h3m0nh65.statuspage.io sentry.zendesk.com ekr.zdassets.com maps.googlea
DEBUG 2026-06-19 17:19:50.458236164 +00:00 < x-sentry-proxy-url: http://sentry-rpc-de.psc.control.sentry.internal:8999/api/0/projects/***/***/preprodartifacts/snapshots/upload-options/
DEBUG 2026-06-19 17:19:50.458241584 +00:00 < strict-transport-security: max-age=31536000; includeSubDomains; preload
DEBUG 2026-06-19 17:19:50.458247005 +00:00 < via: 1.1 google
DEBUG 2026-06-19 17:19:50.458252705 +00:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
DEBUG 2026-06-19 17:19:50.458266822 +00:00 < Transfer-Encoding: chunked
DEBUG 2026-06-19 17:19:50.459088465 +00:00 body: {"slug":"charm","detail":{"extra":{"url":"/api/0/projects/
/charm/preprodartifacts/snapshots/upload-options/","slug":"charm"}}}
error: could not parse JSON response
Caused by:
missing field objectstore at line 1 column 140
DEBUG 2026-06-19 17:19:50.459189334 +00:00 skipping update nagger because session is not attended
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue typeCLIProduct area
    No fields configured for issues without a type.

    Projects

    Status
    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions