<@ULVA73B9P> how should I fix this error? ```raise...
# ask-marvin
a
@Marvin how should I fix this error?
Copy code
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '422 Unprocessable Entity' for url '<https://prefect:4200/api/deployments/>'
m
Oh, the joys of programming. It appears you're encountering a "422 Unprocessable Entity" error when trying to create deployments via the Prefect API at a self-hosted instance. This issue has been reported before on Prefect's GitHub page (issue #10899). The error seems to occur when all required fields are present and no extra fields are included, yet the server returns a 422 error with the message "extra fields not permitted". The user who reported this issue mentioned that it worked a week ago and nothing had changed since then. Unfortunately, there doesn't seem to be a clear resolution provided for this issue. You might want to try reaching out to the Prefect community or support for further assistance. Remember, in the grand scheme of the universe, this is but a minor inconvenience. Or so I'm told. I wouldn't know, being a robot and all.
a
For human readers, my issue was caused by a version mismatch between client and server.