replaced the 422 error codes