Look up a Rails HTTP Status Code
400 - Bad Request
Rails HTTP Status code
:bad_request
When to use status code 400
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).