miguelgrinberg / microblog-api

A modern (as of 2024) Flask API back end.
MIT License
365 stars 100 forks source link

Can not deploy app to heroku, hobby-dev plan is no longer available #15

Closed mthomsonnz closed 1 year ago

mthomsonnz commented 1 year ago

Hi thanks for the great book. Many other books are confusing, yours is great. When I try to deploy the app to Heroku, I get the following error:


Create app App creation failed. Please ensure you have valid values in the above form fields.

Configure environment There was an issue setting up your app environment.

invalid app.json The heroku-postgresql:hobby-dev plan is no longer available. Choose a different plan. See all available plans in the Elements Marketplace at elements.heroku.com.


(see attached screenshots)

Heroku stopped the free plans last year. I have a 'Eco Dynos Plan' and 'Heroku Postgres Mini' plan activated, but it seems the app.json file is choosing a plan that no longer exists, and the error happens. I don't seem to have any option to change the plan heroku1 heroku2

miguelgrinberg commented 1 year ago

Changed it to the postgres-mini plan now.

mthomsonnz commented 1 year ago

Thanks it is working now.