Rights API

Errors

Every error uses the same object. doc_url points at the anchor on this page.

{ "error": { "type": "invalid_request_error", "code": "parameter_missing", "param": "athlete",
  "message": "Missing required param: athlete.", "doc_url": "https://www.valaritasports.com/docs/api/errors#parameter_missing",
  "request_id": "req_EXAMPLE" } }

invalid_request_error · 400

parameter_missing

A required parameter is missing.

invalid_request_error · 400

parameter_invalid

A parameter is present but not valid.

invalid_request_error · 400

invalid_json

The body is not a JSON object.

invalid_request_error · 400

version_invalid

Valaritas-Version is not a supported date.

invalid_request_error · 404

resource_missing

No resource exists at this id or path.

invalid_request_error · 404

athlete_not_available

This athlete is not available.

invalid_request_error · 400

product_unknown

That product is not in this shop.

invalid_request_error · 400

category_not_offered

This athlete is not licensed for that product category.

authentication_error · 401

api_key_required

Send Authorization: Bearer and a secret key.

authentication_error · 401

api_key_invalid

The API key is not a vk_ or rk_ key.

permission_error · 403

live_mode_disabled

Live keys stay off until RIGHTS_API_LIVE is on.

permission_error · 403

live_key_required

Matching and booking require a live organization key.

permission_error · 403

live_generation_disabled

Live generations are off. Test mode does not call a provider.

permission_error · 403

athlete_decision_required

Deprecated. Athletes license their face and voice by contract; blocked categories and takedown stay enforced. The API cannot approve a request.

permission_error · 403

qualification_required

The organization is not qualified to book this quote.

idempotency_error · 400

idempotency_key_required

Idempotency-Key is required on every POST.

idempotency_error · 400

idempotency_key_reused

This Idempotency-Key was already used with a different body.

idempotency_error · 409

idempotency_key_in_use

A request with this Idempotency-Key is still in progress.

consent_error · 403

category_blocked

This category is blocked.

consent_error · 409

licence_pending

A licence is not active for this use.

invalid_request_error · 400

clearance_token_invalid

This clearance token is not valid.

invalid_request_error · 400

clearance_token_expired

This clearance token has expired.

consent_error · 409

clearance_token_replayed

This clearance token was already used.

consent_error · 409

brief_not_pending

This brief is no longer waiting for the athlete.

consent_error · 409

brief_not_approved

The athlete has not approved this brief.

invalid_request_error · 404

billing_test_only

Live Shopify billing is not available yet.

invalid_request_error · 402

payment_required

This call is paid. Pay with a method in WWW-Authenticate, then retry with Payment-Authorization and the same Idempotency-Key.

api_error · 503

payments_unavailable

No payment rail takes this charge here. Nothing was charged; error.diagnostic names the missing rail and error.fallback the checkout that still works.

api_error · 503

split_unavailable

The fee schedule could not be read. No payment was taken; retry shortly.

rate_limit_error · 429

rate_limit

Too many requests. Honor Retry-After.

api_error · 500

internal_error

The operation could not be completed.