Hello team! I am getting this, this morning when I...
# prefect-cloud
e
Hello team! I am getting this, this morning when I try and apply a deployments I have refreshed my api keys the url is returning the below:
1
elliottwilson@Elliotts-MacBook-Pro-2 prefect % prefect deployment build ./mixpanel_to_s3.py:mixpanel_to_s3 -n mixpanel_to_s3 -q default -o mixpanel_to_s3.yaml -a
Found flow 'mixpanel-to-s3'
Deployment YAML created at '/Users/elliottwilson/Documents/GitHub/monorepo/data/prefect/mixpanel_to_s3.yaml'.
Deployment storage None does not have upload capabilities; no files uploaded.  Pass --skip-upload to suppress this warning.
Traceback (most recent call last):
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/cli/_utilities.py", line 41, in wrapper
return fn(*args, **kwargs)
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/utilities/asyncutils.py", line 230, in coroutine_wrapper
return run_async_in_new_loop(async_fn, *args, **kwargs)
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/utilities/asyncutils.py", line 181, in run_async_in_new_loop
return anyio.run(partial(__fn, *args, **kwargs))
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/anyio/_core/_eventloop.py", line 70, in run
return asynclib.run(func, *args, **backend_options)
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 292, in run
return native_run(wrapper(), debug=debug)
File "/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
return await func(*args)
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/cli/deployment.py", line 966, in build
deployment_id = await deployment.apply()
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/deployments.py", line 633, in apply
deployment_id = await client.create_deployment(
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/client/orion.py", line 1313, in create_deployment
response = await <http://self._client.post|self._client.post>(
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/httpx/_client.py", line 1848, in post
return await self.request(
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/httpx/_client.py", line 1533, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/prefect/client/base.py", line 251, in send
response.raise_for_status()
File "/Users/elliottwilson/Documents/GitHub/monorepo/data/.pip/lib/python3.9/site-packages/httpx/_models.py", line 749, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '422 Unprocessable Entity' for url '<https://api.prefect.cloud/api/accounts/f5d6c99a-9adb-4607-b412-4989041ff2da/workspaces/abb8c8f7-7956-4262-aab6-2dfa3409dd0b/deployments/>'
For more information check: <https://httpstatuses.com/422>
Downgrading to prefect==2.7.3 works
m
I am experiencing this issue as well. Rollback worked for me as well: prefect==2.7.3 prefect-aws==0.2.1
k
Hi @Elliott Wilson and @Michael Viescas, yesterday Prefect cloud experienced a partial service disruption which affected deployments. It is now fixed on 2.7.7 and you can read more details on our status page https://prefect.status.io
🙌 2
m
This resolved the issue for me.
marvin 1