The envelope
Most failures use a single envelope.path names the offending field when the error is about input
and is null otherwise.
Endpoints that answer differently
Two endpoints do not use the envelope, and each documents its own failures:POST /oauth/tokenfollows RFC 6749 and answers with a flaterrorfield.POST /codesreports a rejected item inside the200 OKbody rather than failing the request.