Hello again guys, sorry to bother but I came across another issue and couldn’t find a way to solve it. I’m trying to spin a Prefect Agent in a Docker Container, setting up the correct env vars in the form of:
PREFECT_API_KEY=[my_key]
PREFECT_API_URL=<https://api.prefect.cloud/api/accounts/{account_id}/workspace/{workspace_id}>
When I try to spin up the container, I always get a not found
Response: {'detail': 'Not Found'}
response even though it exists.
prefect.exceptions.PrefectHTTPStatusError: Client error '404 Not Found' for url '<https://api.prefect.cloud/api/accounts/{account_id}/workspace/{workspace_id}/flow_runs/filter>'
If I spin the command (in this case
prefect agent start --pool template-dev --work-queue dev
) in my local machine outside a container it works fine. I have the same values I get in
prefect config view
while spinning up the Docker Container. Can anyone help with this?