The application/problem+json (Problem Detail) MUST be used to communicate details about an error.
Request Message Format
Request messages with body SHOULD support an application/json (JSON) format. Where applicable, the request message SHOULD also support the application/hal+json format.