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 Type
status code if a request specifies the headerContent-Type: application/vnd.api+json
with any media type parameters.
It does not have any details on the body of the response.
Thanks