400 Bad Request

Explanation:

The 400 Bad Request status code indicates that the server cannot process the request due to a client error, such as malformed request syntax, invalid request message framing, or deceptive request routing.

Usage:

This status code is used to communicate to the client that the server was unable to understand the request due to invalid syntax.

Attentions:

  • The exact error should be explained in the response message if possible.
  • Clients should not repeat the same request without modifying the syntax or addressing the error.

Sample:

undefined