日本語のみで絞り込む
2010/7/20 -For input validation failure: 400 Bad Request + your optional description. This is suggested in the book "RESTful Web Services".
2026/9/17 -HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
2025/8/26 -Which HTTP status code should I use when data validation fails in REST API? · 400 Bad Request · 401 Unauthorized · 403 Forbidden · 422 Unprocessable ...
400: "There was a serialization error." 400: "There was a validation error" (see Validation errors); 401: "Login required"; 401: "Unauthorized"; 401 ...
2025/11/3 -Database connection failures should return 503 Service Unavailable. Validation errors should return 400 Bad Request with field-level details.
If the client receives an error code such as 403 (Forbidden) or 405 (Method Not Allowed) then it should not send the request's body. The response 417 ...
2019/10/21 -Stick to 200 and 400. When you get a 400, you can retry the request or fail it. When you get a 200, your message is valid; you can then check ...
All validation errors correspond with a 403 HTTP status code. A validation error occurs when: Request body is ill-formed e.g. invalid JSON; Required parameters ...
2014/10/31 -Use 400 if the query is syntactically incorrect. Use 422 if the query is semantically incorrect. I'll show you a clean example :
2025/9/15 -Available Formats ; 423, Locked, RFC 4918 ; 424, Failed Dependency, RFC 4918 ; 425, Too Early, RFC 8470 ; 426, Upgrade Required, RFC 9110, Section ...