Better error handling for 422 errors.