Skip to content

sanity deploy: persistent HTTP 500 on bundle upload step for project ya36kz5r — 7 traceIds, client-side ruled out #1133

@charliepickard

Description

@charliepickard

Describe the bug

Running sanity deploy consistently fails with HTTP 500 on the multipart bundle upload step (POST /v2024-08-01/projects/ya36kz5r/user-applications/{id}/deployments) for project ya36kz5r. The schema lexicon and manifest upload steps that come before it succeed cleanly every time. Failure is 100% reproducible — 7 attempts produced 7 distinct traceIds with identical failure points. Server response is always:

{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "An internal server error occurred"
}

Response headers of note: x-served-by: Brett, sanity-gateway: k8s-gcp-eu-w1-prod-ing-01.

To Reproduce

  1. Open Terminal and cd into the Studio project directory
  2. Run npx sanity deploy
  3. CLI completes schema lexicon and descriptor upload steps successfully
  4. CLI starts uploading the static bundle (~7.2 MB) to /v2024-08-01/projects/ya36kz5r/user-applications/{id}/deployments
  5. Bundle upload returns HTTP 500 — deploy aborts

Expected behavior

Bundle upload completes, hosted Studio deploys to https://centraspot.sanity.studio.

Screenshots

Not applicable — CLI failure, not a UI bug. Response body and headers are quoted above.

Which versions of Sanity are you using?

@sanity/cli (global)   6.6.0 (up to date)
@sanity/cli            6.6.0 (up to date)
@sanity/vision         5.26.0 (up to date)
sanity                 5.26.0 (up to date)

What operating system are you using?

macOS (MacBook Air)

Which versions of Node.js / npm are you running?

node: v24.13.1
npm:  11.8.0

Additional context

Project / plan:

  • Project ID: ya36kz5r
  • Dataset: production
  • Plan: Growth Trial (28 days remaining as of 2026-05-27)
  • Studio hostname slot: centraspot (also tested centraspot-studio)

TraceIds collected (chronological):

  1. bbcb7e07e3076eef60ca5fef9db3b6eb
  2. 9635605001e8f4830f351e7990156725
  3. 37f48c0d4b7bb41a6c1a616f3c2c8e97
  4. ff7362682c12db8d0bf75bb8c03150f9
  5. 7b32f4c70fe60abb34d0a66923e6883b
  6. 6346a459c1c800b6fa65ca93d261ba88
  7. 327a29cd932704ef5a239c7140dfee7b

Client-side variables ruled out:

Variable Values tested Result
@sanity/cli v3.99, v6.6.0 latest Both fail
sanity runtime v3.99, v5.26 latest Both fail
React 18.3, 19.2 latest Both fail
Config syntax legacy autoUpdates: false, new deployment: { autoUpdates: false } Both fail
Hostname slot original centraspot, secondary centraspot-studio, recreated centraspot after deleting both originals from the manage dashboard All three fail identically

The delete-and-recreate test (traceId sanity-io/sanity#7) is the strongest signal: a brand-new user-application record on v6.6 / v5.26 / React 19 from a clean slate still fails at the same point, eliminating stale slot state.

Hypotheses I cannot test from outside:

  • Growth Trial plan tier restriction on hosted Studio deploys for new projects
  • Project-level account flag on ya36kz5r
  • Backend bug affecting this project's user-application records

Impact / workaround in place:

Schema manifest path works fine — platform app reads (GROQ) and writes (HTTP mutate) unaffected. Local npx sanity dev workaround functional. Only the hosted browser editor at centraspot.sanity.studio is blocked.

Also posted in Discord #help (https://www.sanity.io/discord) — opening here for a public, indexed bug record. Happy to provide bundle hash, full verbose CLI output, package.json, sanity.config.ts, or sanity.cli.ts on request.

Security issue?

No — this is an infrastructure availability issue, not a security one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions