A compact structured error response.
Section: Error response body
Standard error object
json
json
{
"error": {
"code": "EMAIL_ALREADY_EXISTS",
"message": "An account with that email already exists.",
"details": {
"field": "email"
},
"request_id": "req_01HXYZ..."
}
}Explanation
Machine-readable codes plus a human-readable message help both client UX and support troubleshooting.
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 Error response body