Hi all! I'm new to Prefect, and I'm trying to run ...
# ask-community
d
Hi all! I'm new to Prefect, and I'm trying to run a Flow and Tasks. I got the below error while running my python script.
Copy code
RuntimeError: Cannot create flow run. Failed to reach API at <http://127.0.0.1:4200/api/>.
Any ideas on what the problem could be?
g
have you set
export PREFECT_API_URL=<url>
?
d
I've set it now, and it works.
Although, initially, it worked without me doing so. I only did so before running
prefect orion start