Skip to content

API reference

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.

CodeHTTPMeaning
invalid_parameter400A parameter is malformed. The message names it, and a `parameter` field repeats it.
filter_too_broad400The filter matches too many values to evaluate. Narrow it.
unauthorized401Missing, malformed, expired, revoked or unresolvable API key.
insufficient_scope403Valid key, but it lacks the scope this endpoint requires.
link_locked403The connection behind this key is deactivated; inventory is locked.
forbidden403Valid 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_found404No such resource within this key's scope. Also returned for a path no v1 endpoint serves.
method_not_allowed405The path exists but does not accept this HTTP verb. The `Allow` response header lists the ones it does.
conflict409The resource is in a state that forbids the operation.
not_registered409The affiliate is not registered on the target network.
job_not_ready409The export job has not finished yet.
job_not_failed409Only a failed job can be retried.
max_retries_exceeded409The job has exhausted its retries.
link_not_supported409Brand/connector cannot carry the requested link. Body also has "kind": "blocked".
merchant_unavailable409The advertiser is platform-deactivated, its program has ended, or your owner hid it.
domain_ambiguous409The domain matched more than one advertiser in your scope. Resubmit with network_slug from candidates[].
product_unavailable409The product's recorded destination is absent, blank, unparseable, or was dropped by the connector's link format.
gone410The endpoint has been removed for good. The body's `replacement` field names the endpoint to use instead. Do not retry.
validation_error422Syntactically valid, semantically impossible.
not_supported422Not supported for this network or brand.
rate_limited429Throttled. Always carries Retry-After.
internal_error500A genuine, non-transient server fault. Quote the request_id.
service_unavailable503A dependency is unavailable.
timeout503A 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.