HTTP Response Codes
Error Response Format
All v4 errors follow a single envelope keyed undererror. There is no envelope-level meta (or _meta) key — validation field errors live inside error.details as {field, message} pairs:
error.details is omitted entirely (rather than emitted as null or []) when the failure is not field-scoped — for example, a 401 unauthorized or a 404 resource-not-found returns just {type, code, message}.