Skip to content
techrace/
TECHRACE DOCUMENTATION

Errors and limits

Every error has the same shape: an HTTP status, a stable error code and a request ID for support.

Error format

Error response
JSON
{
  "error": "invalid_request",
  "requestId": "8c1f0d2e-…"
}

Branch on the error code, not the message. Quote requestId when you contact support.

Status codes

StatusMeaningTypical codesWhat to do
400The request is invalidinvalid_request, invalid_return_urlCheck field names, types and limits in the API reference; return_url must be https (or http://localhost)
401No or bad API keyauthentication_required, invalid_api_keySend a valid key
402Billing neededaccount_billing_requiredCheck the plan in the console
403Not allowedforbidden, customer_access_forbiddenAdd the permission to the key
404Not foundnot_found, customer_not_found, connection_not_foundCheck the IDs
409State conflictaccount_reconnection_required, provider_not_enabled, idempotency_conflictReconnect, enable the provider, or use a new Idempotency-Key
429Too many requestsrate_limit_exceeded, provider_rate_limitedWait for the Retry-After seconds, then retry
502The platform returned an unexpected answerprovider codesRetry later
503Paused or temporarily unavailablemaintenance_in_progress, *_pausedRetry after Retry-After, or turn the switch on

Retrying safely

  • Retry 429 and 503 after the Retry-After header.
  • Re-send writes with the same Idempotency-Key so they never run twice.
  • Do not retry 400, 401, 403 or 404 without changing the request.

Limits

LimitValue
JSON request body100 KB unless an endpoint says otherwise
Page size (limit)Per endpoint, usually 1–100; see the API reference
Idempotency-Key8–120 characters
Post textFacebook 63,206 · Instagram 2,200 · Threads 500 · YouTube description 5,000

Each platform also has its own rate limits; when one is hit you get 429 provider_rate_limited.