Skip to main content

Errors

Errors use a stable machine code and a readable message.

{
"error": "pricebook_not_effective",
"message": "Pricebook is not effective for the current date.",
"details": {
"pricebookCode": "BUSINESS_UK"
}
}
StatusMeaning
400Invalid request shape or domain input
401Missing, invalid or expired token
403Valid token without the required access
404Resource or published context not found
409Version, state, duplicate or domain conflict
422Semantically invalid command where documented
500Unexpected platform error

Branch on error, not on message text. Preserve the returned details and correlation context for diagnostics.