Look up a Rails HTTP Status Code

406 - Not Acceptable

Rails HTTP Status code :not_acceptable

When to use status code 406

The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.