codeis machine-readable and stable. Branch on the code, never on the message.messageis a human-readable explanation. Its wording may change.- A
429also carriesretryAfterSeconds(see Rate limits).
Codes
Each operation in the API reference lists exactly which of these it can return.
Outcomes that are not errors
A lookup that ran but found nothing is not an error. Lookups answer200 with found: false
and a reason (for example profile-not-found), so you can tell “nobody matched” from “the call
failed”.
An empty balance is the exception on Find email and Enrich email: they answer 402 with
insufficient_credits and error.meta.available, like every other paid operation, and nothing is
charged. One case stays a 200: a company-mode find that was charged for its company lookup
before the balance ran out answers that outcome, with charged: true and reason
insufficient-credits.
Every lookup response says what the call consumed in charged and pointsCharged.
