Errors
One shape on every non-2xx response.
{
"error": {
"code": "invalid_parameter",
"message": "limit must be a positive integer (got \"abc\"). Valid range 1-200; values above 200 are clamped to 200.",
"request_id": "req_a90fa758cb0447d8"
},
"parameter": "limit"
}code is machine-readable and stable — branch on it. message is for humans and may change.
| Code | HTTP | Meaning |
|---|---|---|
invalid_parameter | 400 | A parameter is malformed. The message names it, and a `parameter` field repeats it. |
filter_too_broad | 400 | The filter matches too many values to evaluate. Narrow it. |
unauthorized | 401 | Missing, malformed, expired, revoked or unresolvable API key. |
insufficient_scope | 403 | Valid key, but it lacks the scope this endpoint requires. |
link_locked | 403 | The connection behind this key is deactivated; inventory is locked. |
forbidden | 403 | Valid key with the right scope, but the account behind it cannot use this endpoint. The /publishers endpoints return it when the key's operator has no network to register affiliates in. |
not_found | 404 | No such resource within this key's scope. Also returned for a path no v1 endpoint serves. |
method_not_allowed | 405 | The path exists but does not accept this HTTP verb. The `Allow` response header lists the ones it does. |
conflict | 409 | The resource is in a state that forbids the operation. |
not_registered | 409 | The affiliate is not registered on the target network. |
job_not_ready | 409 | The export job has not finished yet. |
job_not_failed | 409 | Only a failed job can be retried. |
max_retries_exceeded | 409 | The job has exhausted its retries. |
link_not_supported | 409 | Brand/connector cannot carry the requested link. Body also has "kind": "blocked". |
merchant_unavailable | 409 | The advertiser is platform-deactivated, its program has ended, or your owner hid it. |
domain_ambiguous | 409 | The domain matched more than one advertiser in your scope. Resubmit with network_slug from candidates[]. |
product_unavailable | 409 | The product's recorded destination is absent, blank, unparseable, or was dropped by the connector's link format. |
gone | 410 | The endpoint has been removed for good. The body's `replacement` field names the endpoint to use instead. Do not retry. |
validation_error | 422 | Syntactically valid, semantically impossible. |
not_supported | 422 | Not supported for this network or brand. |
rate_limited | 429 | Throttled. Always carries Retry-After. |
internal_error | 500 | A genuine, non-transient server fault. Quote the request_id. |
service_unavailable | 503 | A dependency is unavailable. |
timeout | 503 | A read exceeded its time budget. Transient — retry after Retry-After. |
A 5xx for anything you could have sent differently is a bug on our side — please report it. Note that timeout is a 503, not a 500, precisely because it is worth retrying; a 500 means the opposite.