Core concept
Errors and request IDs
Errors use a consistent JSON shape. Log the request ID so support can trace the exact execution.
{
"error": {
"code": "invalid_request",
"message": "A message is required",
"request_id": "req_01..."
}
}