Handle 422 errors from the server.