Data Inc.

Developers / Tools / Error & status catalog

Error & status catalog

Diagnose request failures, separate retryable conditions and retain useful trace context safely.

Error envelopes and diagnostics

Most errors use { error: { code, message, details?, resolution_url?, trace_id } }. Vulture quarantine is an exception: HTTP 422 returns { status: quarantined, reason_code, raw_hash, trace_id } at the top level. SSE errors arrive inside the established stream and cannot change its HTTP 200 status.

Record method, route template, HTTP status, error code, trace_id, request ID and UTC time. Never record API keys, signing secrets, raw identifiers or full sensitive payloads. A gateway HTML/CORS failure may not include a Protocol API trace ID; retain safe response metadata instead.

Status and remediation

HTTPCode / conditionRemediation
400invalid_request, invalid_target_type, invalid_target_hash, unsupported_hash_algorithmFix fields / hash format; do not retry unchanged.
400idempotency_key_requiredSupply a stable key, <=128 characters, for the logical validation request.
400invalid_receipt_id, invalid_batch_idCheck ID and ownership; receipt IDs are not NFT token IDs.
400invalid_limit, invalid_cursor, invalid_date, invalid_statusFix receipt filters / mutually exclusive cursors; SSE cursor is a decimal packet ID.
400invalid_topicUse one of the three supported topic query values.
401missing_api_key, invalid_api_keySupply / rotate active key; feature routes also accept a Hub bearer session.
402insufficient_fundsTop up, then retry deliberately. details varies by operation; not all fields are always present.
403not_provisionedOrganization administrator must enable the service.
403tier_required, feed_session_requiredAcquire eligible subscription or start a paid topic session deliberately.
404receipt_not_found, batch_not_found, webhook_not_found, route_not_found, unknown_topicCheck owned ID, method/path and active topic; repeated blind retries do not help.
405method_not_allowedFeature sessions use POST; latest and stream use GET.
413batch_too_largeSplit validation above 1,000 targets or ingestion above 500 records / 5 MB.
422quarantined (top-level status)Inspect reason_code; correct data / sanitization failure, not a blind retry.
429rate_limit_exceededWait Retry-After; 120 calls per fixed 60-second window per key or feature user.
500billing_failed, internal_errorBounded backoff; preserve validation Idempotency-Key. billing_failed says no targets were charged.
500proof_mismatchStop accepting the proof; escalate trace ID instead of trusting mismatched hashes.
Downstream status, including 503ingest_rejectedVulture forwarding preserves rejection status with this code; confirm gateway condition and retry policy.

Retry policy

Retry network interruptions, 429 after Retry-After, and transient 5xx with bounded exponential backoff and jitter. Keep the original Idempotency-Key and identical body for validation retries. A new request needs a new key. Do not claim generic POST retry safety: session reuse is owner/topic/expiry based; webhook creation has no documented idempotency header.

After a stream interruption, reconnect using the last processed packet ID. After session.expired, stop: starting another session can charge credits. Read balance and receipts before reconciling uncertain outcomes. Never retry proof_mismatch as if a bad proof were acceptable.

NextSandbox & testing