Skip to content
Docs menuTroubleshooting

Troubleshooting

Fixes for the problems people hit most.

Last updated November 1, 2026

Common problems

ProblemFix
Database error on first loadCheck DATABASE_URL, then run npx prisma db push (and npx prisma generate if the client is stale)
Sign-up works but the verification email never arrivesSign-in requires a verified email. Check your email provider key and that EMAIL_FROM is on a verified domain
Stripe webhook returns 400Use the signing secret of the endpoint you are testing. Locally, run stripe listen --forward-to localhost:3000/api/stripe/webhook and use the secret it prints
Checkout succeeds but the plan stays inactiveThe webhook has not arrived. Checkout success never activates a plan; only the webhook does
Upload fails in the browserAdd a CORS rule for your app origin on the bucket: methods GET, PUT, HEAD, header content-type, expose ETag
Chat returns 401Chat needs a signed-in user while auth is installed (AI_REQUIRE_AUTH). Also check AI_GATEWAY_API_KEY and access to the model
Chat sends no text with a reasoning modelRaise AI_MAX_OUTPUT_TOKENS. The default 1024 can be spent entirely on thinking
No attach button in the chatChat attachments need the storage module: tailar add storage, then tailar sync ai. AI_ATTACHMENTS=false also hides it
Deleting a chat fails after changing storage providerSet STORAGE_PROVIDER to the provider that is installed (r2, s3 or gcs)
Works locally, fails on deployAdd every variable to your host and redeploy; set the production URLs
The CLI says it needs the lifetime licenceBuild your repo at the builder, buy the licence with the account you log in with, then run the command again
Lost access to the email you bought withContact us from the address on your receipt
psql
UPDATE "user" SET "emailVerified" = true;