Errors
JazzHQ APIs use standard HTTP status codes to indicate whether a request was successful.
Error responses are returned as JSON and include a machine-readable message that can be used to identify the error.
Error response
For validation errors, the errors array contains details about the fields that caused the request to fail.
Error codes
Examples
Authentication errors
Validation errors
State conflicts
Some actions are only valid from certain states. Approving a lead that was already
rejected, or rejecting one that has already been converted into a contact, returns 409
rather than 400 — the request itself is fine, but the resource has moved on.
Retrying a request that already succeeded does not produce this error. Archiving an already-archived lead, re-approving an approved one, or re-rejecting a rejected one all succeed and change nothing.
Resource errors
For validation errors, check the errors array for field-level details.

