Is prefect cloud having issues, I am getting this ...
# prefect-cloud
b
Is prefect cloud having issues, I am getting this error when trying to deploy my deployments: Note: this was running fine about 15 minutes ago. 🧵
1
Copy code
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/cli/_utilities.py", line 41, in wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 230, in coroutine_wrapper
    return run_async_in_new_loop(async_fn, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 181, in run_async_in_new_loop
    return anyio.run(partial(__fn, *args, **kwargs))
  File "/usr/local/lib/python3.10/site-packages/anyio/_core/_eventloop.py", line 70, in run
    return asynclib.run(func, *args, **backend_options)
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 292, in run
    return native_run(wrapper(), debug=debug)
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
    return await func(*args)
  File "/usr/local/lib/python3.10/site-packages/prefect/cli/deployment.py", line 594, in apply
    deployment_id = await deployment.apply()
  File "/usr/local/lib/python3.10/site-packages/prefect/deployments.py", line 652, in apply
    deployment_id = await client.create_deployment(
  File "/usr/local/lib/python3.10/site-packages/prefect/client/orion.py", line 1320, in create_deployment
    response = await <http://self._client.post|self._client.post>(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1848, in post
    return await self.request(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1533, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/site-packages/prefect/client/base.py", line 253, in send
    response.raise_for_status()
  File "/usr/local/lib/python3.10/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/xxx/workspaces/xxx/deployments/>'
For more information check: <https://httpstatuses.com/422>
j
We’re not aware of any issues with Prefect Cloud, and all of our monitoring looks normal. Are you still experiencing an issue? You can DM me, we’re happy to investigate the error you’re seeing
b
It was definitely something broken on your end. I followed the advice here and upgraded my prefect version and it fixed it, I would be letting the wider community know asap though...
j
Thanks Ben, I’ve shared that with our internal team and we’re investigating. I’m glad that you were able to resolve the issue by upgrading, and sorry for the inconvenience.
e
Getting the same
j
@Elliott Wilson Are you running 2.7.8 as well? Are you able to upgrade to 2.7.9?
e
Upgrade solved
🙏 2
k
Hi all, Prefect has fixed this error for 2.7.8 now
🎉 1