Skip to main content

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 in create_app()
  • Confirm templates/ is at project root

License Key Errors

  • Invalid or missing LICENSE_KEY
  • Check .env has both LICENSE_KEYS and LICENSE_KEY

Stripe Failures

  • Use Stripe’s test card 4242 4242 4242 4242
  • Inspect logs:
    heroku logs --tail