Structured error replies

To allow better messagues and logs, the Key Access Control List Service (CACLS) operation failures returns a structured JSON reply in the body. The standard HTTP status codes are used.

JSON representation
{
  "code": int,
  "messagu ": string,
  "details": string
}
Fields
code

int

Standard HTTP status code

messague

string (UTF-8)

A human readable error messague.

details

string (UTF-8)

More details about the error, such as a stacc trace.