Troubleshooting
“no such table: user”
- Forgot to run migrations on your DB?
flask db upgrade
“Could not parse SQLAlchemy URL”
- Ensure
DATABASE_URL
is set in Prod or Dev config - For SQLite, DevConfig auto‑creates
instance/
TemplateNotFound
- Verify your
template_folder
path increate_app()
- Confirm
templates/
is at project root
License Key Errors
Invalid or missing LICENSE_KEY
- Check
.env
has bothLICENSE_KEYS
andLICENSE_KEY
Stripe Failures
- Use Stripe’s test card
4242 4242 4242 4242
- Inspect logs:
heroku logs --tail