X-Request-Id response header:
error.details, with field paths and validation messages. Keep the request ID when asking support to investigate.
Conflicts
concurrent_request and operation_pending can be retried with backoff using the same request. idempotency_conflict means the key was already used for a different method, path or payload; repeating it unchanged will not fix the conflict.
Finance conflicts include commission_locked, clawback_immutable, reversal_exceeds_commission, source_reference_conflict, batch_locked, nonpositive_payout and settlement_conflict. Resolve the underlying state or reconcile the existing operation before sending a new write. See finance behavior.
Program creation from an agency-managed program returns 403 agency_program_creation_disabled with the message contact support to create a new affiliate program.
Legacy errors and rate limits
Existing affiliate, referral, sale, link, coupon and promotional-code endpoints retain their legacy formats, often{ "error": "message" }. Rate-limit responses also keep the limiter’s string error and rate metadata, rather than the operational error envelope. Integrations using both endpoint families should support both shapes.
A legacy sale request returning null or a duplicate-related 400 needs reconciliation by its external identifier. See sale idempotency.