As of the title, I am curious if responding with a body of a JSON object that includes
errors:  is spec-compliant.
The spec states that
Servers MUST respond with a
415 Unsupported Media Typestatus code if a request specifies the header
Content-Type: application/vnd.api+jsonwith any media type parameters.
It does not have any details on the body of the response.