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
- Open Terminal and
cd into the Studio project directory
- Run
npx sanity deploy
- CLI completes schema lexicon and descriptor upload steps successfully
- CLI starts uploading the static bundle (~7.2 MB) to
/v2024-08-01/projects/ya36kz5r/user-applications/{id}/deployments
- 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):
bbcb7e07e3076eef60ca5fef9db3b6eb
9635605001e8f4830f351e7990156725
37f48c0d4b7bb41a6c1a616f3c2c8e97
ff7362682c12db8d0bf75bb8c03150f9
7b32f4c70fe60abb34d0a66923e6883b
6346a459c1c800b6fa65ca93d261ba88
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.
Describe the bug
Running
sanity deployconsistently fails with HTTP 500 on the multipart bundle upload step (POST /v2024-08-01/projects/ya36kz5r/user-applications/{id}/deployments) for projectya36kz5r. 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
cdinto the Studio project directorynpx sanity deploy/v2024-08-01/projects/ya36kz5r/user-applications/{id}/deploymentsExpected 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?
What operating system are you using?
macOS (MacBook Air)
Which versions of Node.js / npm are you running?
Additional context
Project / plan:
ya36kz5rproductioncentraspot(also testedcentraspot-studio)TraceIds collected (chronological):
bbcb7e07e3076eef60ca5fef9db3b6eb9635605001e8f4830f351e799015672537f48c0d4b7bb41a6c1a616f3c2c8e97ff7362682c12db8d0bf75bb8c03150f97b32f4c70fe60abb34d0a66923e6883b6346a459c1c800b6fa65ca93d261ba88327a29cd932704ef5a239c7140dfee7bClient-side variables ruled out:
@sanity/clisanityruntimeautoUpdates: false, newdeployment: { autoUpdates: false }centraspot, secondarycentraspot-studio, recreatedcentraspotafter deleting both originals from the manage dashboardThe 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:
ya36kz5rImpact / workaround in place:
Schema manifest path works fine — platform app reads (GROQ) and writes (HTTP mutate) unaffected. Local
npx sanity devworkaround functional. Only the hosted browser editor atcentraspot.sanity.studiois 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.