Structured error replies
Stay organized with collections
Save and categorize content based on your preferences.
To allow better messages and logs, the Key Access Control List Service (KACLS)
operation failures returns a structured JSON reply in the body.
The standard HTTP status codes are used.
JSON representation
{"code": int,"message": string,"details": string}
Fields
code
int
Standard HTTP status code
message
string (UTF-8)
A human readable error message.
details
string (UTF-8)
More details about the error, such as a stack trace.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[],["KACLS operation failures now return a structured JSON response in the body, using standard HTTP status codes. The JSON format includes three fields: `code` (an integer representing the HTTP status), `message` (a human-readable error string), and `details` (a string providing further information like a stack trace). This structured format improves the quality of error messages and logs.\n"]]