Emma Keil-Vine02/24/2023, 7:24 PM
-- does anyone have any recommendations? TIA!
Cannot create flow run. Failed to reach API at <https://api.prefect.cloud/api/accounts/a9c0f124-ca06-4646-a501-57a405ebf3c7/workspaces/43f1b8a7-ed9c-46d2-a88a-55eef95b8ef7/>.
Ryan Peden02/24/2023, 8:54 PM
and choosing browser-based login.
prefect cloud login
Emma Keil-Vine02/24/2023, 8:56 PM
) I get
prefect cloud worksplace ls
-- is there anyway to check what credentials it's referencing?
Unable to authenticate. Please ensure your credentials are correct.
Ryan Peden02/24/2023, 9:01 PM
should show you what it is trying to use.
prefect config view --show-secrets
Emma Keil-Vine02/24/2023, 9:05 PM
) -- so something is overriding the key I use to login?
Ryan Peden02/24/2023, 9:07 PM
after the API key?
prefect profile create cloud
. Then, run the settings command to see if the key is still getting overridden. If not, logging in with your new API key should work. If you don't mind getting rid of all your old settings and starting fresh, running
prefect profile use cloud
should also solve the problem, but you'd lose saved settings and flow run history stored there.
rm -rf ~/.prefect
Emma Keil-Vine02/24/2023, 9:11 PM
-- I cleared the old keys from
but now if I check env it's listed again
Ryan Peden02/24/2023, 9:14 PM
, does that get rid of it? Since it seems to be added to your environment variables automatically, I wonder if it is getting set in
or something similar? Or if you're on Windows and it's saved in your system env variables, it would get re-added any time you open a new terminal.
Emma Keil-Vine02/24/2023, 9:31 PM
Ryan Peden02/24/2023, 10:27 PM