postgresql attach failure with "Error unexpected end of JSON input"

I’m running this and getting an error, which seems related to fly.io code?

$ flyctl postgres attach --app <app> --postgres-app <postgres-app>
Running flyadmin database-list
Running flyadmin user-list
Running flyadmin database-create
Error unexpected end of JSON input

Hey @ronyf, this is a known issue that we are currently digging into. You can find some additional information and potential workaround here: Error with fly postgres attach command