// troubleshooting guide · bolt.new
Bolt.new Missing Secrets and CORS Errors
- Status
- Workaround available
- platforms:
- Web
- updated:
- November 15, 2026
- reports:
- 3
- Method
- how we research
RUNBOOK · bolt-new/missing-secrets-and-cors-errors3 FIXES
// quick answer
API calls from server functions fail when secrets are missing or CORS headers are wrong. Add secrets via the database icon and check Access-Control headers.
Most likely fix: Add missing secrets
How to fix it
// try these in order, the most common fix is first
FIX 1Add missing secrets
- 01Database icon > Secrets
- 02Name exactly as code expects, e.g. OPENAI_API_KEY
- 03Save; no redeploy needed
Did this fix it?FIX 2Check CORS
- 01Open DevTools Network tab
- 02Verify Access-Control-Allow-Origin, -Methods and -Headers in your function
Did this fix it?FIX 3Webhooks
- 01Ask Bolt to turn off JWT verification for the webhook function
- 02Add your own signature check
Did this fix it?
Symptoms
Missing secrets message, blocked requests, webhook rejected.
Why it happens
- C-01Secret not created or misnamed
- C-02CORS not allowing your domain
- C-03Webhook sent without JWT
// this guide also covers
- bolt.new cors error
- bolt.new missing secrets
- bolt.new stripe webhook
Still not working?
If Bolt.new keeps failing, you're not alone. See every Bolt.new problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to us