# prefect-community

Malthe Karbo

04/26/2022, 12:41 PM
Hi, when trying to create a deployment to orion cloud, I get "422 unknown" exceptions being thrown
Copy code
Deploying flow script from '/path/flows/' using S3 Storage...
Traceback (most recent call last):
  File "/path/.venv/lib/python3.9/site-packages/prefect/cli/", line 251, in create
    await spec.create_deployment(validate=False)
  File "/path/.venv/lib/python3.9/site-packages/prefect/", line 82, in with_injected_client
    return await fn(*args, **kwargs)
  File "/path/.venv/lib/python3.9/site-packages/prefect/", line 293, in create_deployment
    deployment_id = await client.create_deployment(
  File "/path/.venv/lib/python3.9/site-packages/prefect/", line 1004, in create_deployment
    response = await <|>(
  File "/path/.venv/lib/python3.9/site-packages/httpx/", line 1820, in post
    return await self.request(
  File "/path/.venv/lib/python3.9/site-packages/httpx/", 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/", line 36, in send
  File "/path/.venv/lib/python3.9/site-packages/httpx/", line 1510, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '422 unknown' for url '<>'
For more information check: <>
I figured out what was wrong, my schedule had a bad timezone input in the deployment spec
👍 2

Anna Geller

04/26/2022, 12:48 PM
Nice work figuring that out!