Ship

Troubleshooting

Fixes for the errors people hit first.

01Common problems

SymptomFix
ENOTFOUNDThe host in DATABASE_URL can't be resolved; fix it and restart
Invalid originThe page's URL doesn't match BETTER_AUTH_URL
max clients reachedYour database pooler is full: lower DATABASE_POOL_MAX (connections per server, default 10) or use the pooler's transaction mode
Pricing is emptyRun npm run db:seed; a missing plans table means migrations haven't run
Emails don't arriveNo key: check /dev/mailbox. With a key: check the server log for Resend's error
AI replies failSet AI_GATEWAY_API_KEY, or AI_MOCK=true for fake models
Checkout says payments are offSet BILLING_PROVIDER and that provider's keys