https://prefect.io logo
Title
k

Kun Yin

07/25/2022, 6:24 AM
Hi! When I run the example code after successfully logged in my prefect cloud (prefect version == 2.0b9), I got the error : prefect.exceptions.PrefectHTTPStatusError: Client error '422 Unprocessable Entity' for url 'https://api-beta.prefect.io/api/accounts/f68f7059-5eec-4e71-acc8-d7f351373e43/workspaces/ada6556d-d542-4378-9b90-b5647a4dd404/flow_runs/'. How can I solve this?
🙌 1
✅ 1
a

Anna Geller

07/25/2022, 3:17 PM
You need to upgrade to the latest version, then it should work again:
pip install -U "prefect>=2.0b12"
j

John Kang

07/25/2022, 7:22 PM
@Anna Geller Thanks for the instructions! I had the same error with 2.0b9 and this solved it
🙌 1
k

Kun Yin

07/26/2022, 12:55 AM
@Anna Geller That works, thanks a lot!
🙌 1