Which status code does a REST API use to show that the submitted payload is invalid?
HTTP 400 (Bad Request) indicates that the server cannot process a request because it is invalid, malformed, or otherwise contains an incorrect payload.
Community Discussion