Retail BrandsAPI v1.7OpenAPIretailbrands.global

Errors

Errors use the HTTP status code and a JSON body that says what went wrong.

{
  "error": {
    "code": "level_required",
    "message": "GET /brands/{id}/score/history needs access level 2.",
    "request_id": "req_8fK2mQ1xT"
  }
}
StatusCodeMeaning
401unauthenticatedNo key was sent. Send `Authorization: Bearer <key>`.
401invalid_keyThe key is unknown or has been revoked.
403plan_requiredAPI access needs a paid plan or the 7-day trial.
403access_disabledAPI access has been disabled for the account. Contact sales.
404not_foundNo such resource, or it is not published.
405method_not_allowedOnly GET is available in this version.
429quota_exceededThe request quota of the account is used up. Contact sales to continue.
500internalSomething failed on our side. Retry.
501not_available_yetThe endpoint is documented but not live yet.

Quote the request_id when you contact support: it lets us find the request. The same value is in the RB-Request-Id response header.

Retrying

Retry 429, 500 and 503 with exponential back-off, honouring Retry-After. Do not retry other 4xx errors: the request must change first. Because every endpoint is read-only, a retry is always safe.