Khyaati Jindal
01/17/2023, 11:20 AMTraceback (most recent call last):
File "/home/ubuntu/5c-email-triggers/prefect_deployments/deployment.py", line 132, in <module>
deployment_o16.apply()
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 212, in wrapper
return run_async_in_new_loop(async_fn, *args, **kwargs)
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 141, in run_async_in_new_loop
return anyio.run(partial(__fn, *args, **kwargs))
File "/home/ubuntu/common_env/lib/python3.10/site-packages/anyio/_core/_eventloop.py", line 70, in run
return asynclib.run(func, *args, **backend_options)
File "/home/ubuntu/common_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 292, in run
return native_run(wrapper(), debug=debug)
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/ubuntu/common_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
return await func(*args)
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/deployments.py", line 503, in apply
deployment_id = await client.create_deployment(
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/client.py", line 1370, in create_deployment
response = await <http://self._client.post|self._client.post>(
File "/home/ubuntu/common_env/lib/python3.10/site-packages/httpx/_client.py", line 1842, in post
return await self.request(
File "/home/ubuntu/common_env/lib/python3.10/site-packages/httpx/_client.py", line 1527, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/client.py", line 279, in send
response.raise_for_status()
File "/home/ubuntu/common_env/lib/python3.10/site-packages/prefect/client.py", line 225, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Server error '503 Service Unavailable' for url '<https://api.prefect.cloud/api/accounts/23d4542e-2fbd-406e-90ed-11473b62765f/workspaces/2bb600d8-82cb-448a-83a3-266f6a12cb0b/deployments/>'
Response: {'exception_message': 'Service Unavailable'}
For more information check: <https://httpstatuses.com/503>
Kalise Richmond
01/17/2023, 10:39 PMChristopher Boyd
01/18/2023, 3:25 PMKhyaati Jindal
01/18/2023, 3:25 PM