Look up a Rails HTTP Status Code
415 - Unsupported Media Type
Rails HTTP Status code
When to use status code 415
The request entity has a media type which the server or resource does not support. For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.