Hostname API failing

Today we noticed adding domains via the hostname api, began returning 404 errors for POST requests.

Our customers currently cannot add custom domains. We’re POSTing to https://fly.io/api/v1/apps/OUR_APP/hostnames

Please advise. Thank you!

Try changing the API URL to https://api.fly.io/api/v1/apps/OUR_APP/hostnames.

That one is stable and will continue to function. The other one stopped working last month when we swapped out our Fly.io UI app.

Thanks! That resolved the 404 errors. Cheers.

1 Like

FWIW, these docs are still out of date: Fly · Global Apps

If you go to the ‘base’ page, https://js.fly.io/docs/, there’s a header there that says this is now deprecated.