RFC 9457: Problem Details for HTTP APIs | RFC Editor
This document defines a "problem detail" to carry machine-readable details of errors in HTTP response content to avoid the need to define new error response formats for HTTP APIs.
This document obsoletes RFC 7807.
rfc-editor.org