"Missing Shopify API Key" when app is deployed to fly.io, even though I have it set and use it

I’m getting this error when trying to log into an app I’m developing:

This only started happening recently, so I’m not sure what’s wrong. I have my app deployed to fly.io. The app’s background processes are still working and accessing the API correctly, so it’s not that the API key I provided is invalid.

I fixed the issue. I forgot that you have to set the API key in the flyctl deploy command.