You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping I'm just doing something wrong here. When calling heroku.domain.create(), I'm getting a 400 error.
To start, here's what works.
irb(main):003:0> heroku.domain.list('[email protected]')=>[{"acm_status"=>nil, ...}]irb(main):004:0> heroku.domain.delete('[email protected]','*.example.com')=>{"acm_status"=>nil, ...}# I was able to confirm that this does delete the domain
Our API docs suggest that either the UUID or app name should suffice (even the heroku_id works in the delete example above!), which makes me wonder why using the UUID returns a 404 while the app name example returns a 400.
Am I just doing something dumb? It seems pretty straightforward.
Update: in a humbling turn of events, the alternate error I was receiving above for the UUID method was indeed valid; I somehow had the wrong UUID for the app. correcting this yields the same 400 BadRequest error the other two commands were returning.
Using EXCON_DEBUG returns the following (assuming the important bits, omitting others - let me know if you need something else):
I'm hoping I'm just doing something wrong here. When calling
heroku.domain.create()
, I'm getting a 400 error.To start, here's what works.
And here's what doesn't.
Our API docs suggest that either the UUID or app name should suffice (even the heroku_id works in the
delete
example above!), which makes me wonder why using the UUID returns a 404 while the app name example returns a 400.Am I just doing something dumb? It seems pretty straightforward.
Update: in a humbling turn of events, the alternate error I was receiving above for the UUID method was indeed valid; I somehow had the wrong UUID for the app. correcting this yields the same 400 BadRequest error the other two commands were returning.
Using
EXCON_DEBUG
returns the following (assuming the important bits, omitting others - let me know if you need something else):The text was updated successfully, but these errors were encountered: