Error creating managed postgres

$ fly mpg create
? Choose a database name: asdf
? Select Organization: Tyler (personal)
Error: failed to list MPG regions (status 404): {"errors":{"detail":"not found"}}

This happens when using fly launch as well with managed posgtres.

Hi… The following seems to be the fix, although I’m not sure why exactly it works:

(Perhaps it gives you a newer kind of token, :thinking:…)

1 Like

That did work! :partying_face: Thanks

1 Like

yep: all new flyctl logins get macaroon tokens. the API for Managed Postgres only supports those, and not the old OAuth tokens.

2 Likes