Ship
Troubleshooting
Fixes for the errors people hit first.
01Common problems
| Symptom | Fix |
|---|---|
ENOTFOUND | The host in DATABASE_URL can't be resolved; fix it and restart |
Invalid origin | The page's URL doesn't match BETTER_AUTH_URL |
max clients reached | Your database pooler is full: lower DATABASE_POOL_MAX (connections per server, default 10) or use the pooler's transaction mode |
| Pricing is empty | Run npm run db:seed; a missing plans table means migrations haven't run |
| Emails don't arrive | No key: check /dev/mailbox. With a key: check the server log for Resend's error |
| AI replies fail | Set AI_GATEWAY_API_KEY, or AI_MOCK=true for fake models |
| Checkout says payments are off | Set BILLING_PROVIDER and that provider's keys |