Return a machine-readable error code and human-readable message.
Section: Errors, events, and partial updates
Structured error payload
json
json
{
"error": {
"code": "USER_NOT_FOUND",
"message": "No user exists for the supplied id.",
"details": {
"id": "usr_999"
}
}
}Explanation
Structured errors are easier to handle consistently across clients.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Errors, events, and partial updates