Malthe Karbo
04/26/2022, 12:41 PMDeploying flow script from '/path/flows/flow.py' using S3 Storage...
Traceback (most recent call last):
File "/path/.venv/lib/python3.9/site-packages/prefect/cli/deployment.py", line 251, in create
await spec.create_deployment(validate=False)
File "/path/.venv/lib/python3.9/site-packages/prefect/client.py", line 82, in with_injected_client
return await fn(*args, **kwargs)
File "/path/.venv/lib/python3.9/site-packages/prefect/deployments.py", line 293, in create_deployment
deployment_id = await client.create_deployment(
File "/path/.venv/lib/python3.9/site-packages/prefect/client.py", line 1004, in create_deployment
response = await <http://self._client.post|self._client.post>(
File "/path/.venv/lib/python3.9/site-packages/httpx/_client.py", line 1820, in post
return await self.request(
File "/path/.venv/lib/python3.9/site-packages/httpx/_client.py", line 1506, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/path/.venv/lib/python3.9/site-packages/prefect/utilities/httpx.py", line 36, in send
response.raise_for_status()
File "/path/.venv/lib/python3.9/site-packages/httpx/_models.py", line 1510, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '422 unknown' for url '<https://api-beta.prefect.io/api/accounts/uuid-me/workspaces/uuid-ws/deployments/>'
For more information check: <https://httpstatuses.com/422>
Anna Geller