Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Problem to change dyno type #93

Open
diegorv opened this issue Jul 27, 2015 · 1 comment
Open

Problem to change dyno type #93

diegorv opened this issue Jul 27, 2015 · 1 comment

Comments

@diegorv
Copy link

diegorv commented Jul 27, 2015

heroku = Heroku::API.new(:api_key => API_KEY)
heroku.put_formation(APP_NAME, 'web' => 'Free')
heroku.post_ps_scale(APP_NAME, 'web'   , 1)

Error: body: "{\"id\":\"invalid_params\",\"error\":\"Requested type Free is not available in this dyno type.\"}"

Why that? I can't change my dyno size with API?

@geemus
Copy link
Contributor

geemus commented Aug 4, 2015

You should be able to change it, but we are still working out some bugs related to app tiers unfortunately. We should be fixing it to do this more automatically in the near future, but in the mean time you will need to make sure that the app is in the desired tier to allow for the type you want (in this case you want the free tier it looks like). You can change this by looking at the app in dashboard and clicking on "edit" next to where it says "Traditional Dynos" and switch to free. Or, I think you should be able to update the app via the api with free as the process tier. Either way, once the tier is set, this should work as you expect. Sorry for the confusion and inconvenience, hopefully we'll have this fixed to be more automatic soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants