Hi there,
I logged in to fly.io in the terminal and tried to run “flyctl secrets list” but got the error “Error Could not find App”. Anyone know what could be the issue
Hi there,
I logged in to fly.io in the terminal and tried to run “flyctl secrets list” but got the error “Error Could not find App”. Anyone know what could be the issue
Hi,
Total guess however there is an ongoing issue: Fly.io Status - Delayed state updates: expect more retries for new deployments
I’d suspect that’s the cause. When that shows as resolved, your issue should be too.
Hi! This might be because flyctl
doesn’t know what app you want to view. (Unfortunately, the error message that flyctl secrets
currently gives isn’t very clear.) Make sure that one of the following is true:
flyctl secrets list -a <app name>
.FLY_APP
environment variable is set to the name of your app.flyctl
in a directory with a fly.toml
for your app.flyctl
will determine the app name to use by checking these three sources (in this order).
If this doesn’t work, you might be trying to view an app that doesn’t exist, or it might be an issue communicating with the Fly API.
Quick update: we’ve merged a PR to make flyctl
give clearer error messages in the case I described.