CollectalesDevelopers

Problem details#

Resource errors use RFC 9457 application/problem+json. Read type, title and status; requestId, instance and detail are included when available. Token authentication errors use OAuth JSON error identifiers such as invalid_client and invalid_scope. Keep the returned x-request-id for troubleshooting. Do not rely on human-readable error text as a stable programmatic identifier.

StatusAction
400Correct parameters, malformed cursors, or invalid windows.
401Obtain one fresh token and retry once.
403Check the application’s approved scopes and your plan (problems/plan-scope).
404Check identity and current publication state.
429 / 503Honor Retry-After when present; use bounded backoff with jitter for transient failures. For problems/quota-exceeded, wait until x-quota-reset rather than retrying immediately. See Plans & limits.

Retry safely#

Retry transient 429 and 503 responses with a bounded wait and jitter. Stop on problems/quota-exceeded and problems/spend-cap-reached; waiting a few seconds will not restore a period allowance or spending cap.

# Inspect Retry-After and the problem type before retrying.
# Do not retry quota-exceeded or spend-cap-reached.
curl --include --fail-with-body \
  "$COLLECTALES_BASE_URL/v1/games" \
  --header "authorization: Bearer $COLLECTALES_ACCESS_TOKEN"

Report an integration failure#

Provide the endpoint, UTC time, HTTP status, and request ID through your existing staging partner contact. Exclude access tokens, secrets, private keys, and personal collection exports. A public support channel will be published with the external beta.

Guides and real API endpoints