Errors, retries and idempotency
Look up LineBlink API error codes and learn when to retry a request, reuse an idempotency key, or reload an entry.
Read as MarkdownUse the code and request ID
400 VALIDATION_ERROR means the input failed validation. Check the request fields and cursor. 400 VERSION_REQUIRED means the status update needs the version from a fresh entry lookup.
401 API_KEY_INVALID means the key could not authenticate. Check the key and whether it is active. 403 API_KEY_SCOPE_REQUIRED means the credential lacks the scope for the operation. On an ENTRY_NOT_FOUND or QUEUE_NOT_FOUND (404), check the resource ID and key restrictions.
402 INTEGRATION_ACCESS_UNAVAILABLE means the account needs enabled production access. 402 OPT_IN_QUOTA_EXHAUSTED means guest entry creation is blocked by the allowance. Check API & Integrations or Billing & Plans for the relevant account state.
413 PAYLOAD_TOO_LARGE means the request exceeds 64 KiB. Reduce the body before retrying.
429 RATE_LIMITED means you should wait the number of seconds in Retry-After. 503 BILLING_UNAVAILABLE means LineBlink could not verify billing access. 503 API_WRITES_PAUSED means writes are temporarily unavailable.
For a retryable 5xx response or lost connection, retry a write with the same Idempotency-Key and body. Give support the requestId, timestamp and operation. Keep keys and guest request bodies private.
{"error":"Human-readable message.","code":"STABLE_CODE","requestId":"REQUEST_ID"}Persist one key per logical action
Creates and supported retryable writes require Idempotency-Key, up to 128 characters. Persist it before sending the action. A completed retry returns the saved minimal result after current authorization and entitlement checks.
Reusing a key with a different canonical payload returns 409. Completed results are retained for 30 days; after the retention window, do not assume a retry will still be deduplicated. Use your source record and an exact external-reference lookup to investigate before recreating an old action.
Treat conflicts as decisions
For 409 IDEMPOTENCY_IN_PROGRESS, wait and retry with the same key and body. For 409 IDEMPOTENCY_CONFLICT, check the original input for that key. For 409 STATUS_CONFLICT, look up the current entry and reconsider the action. If it still applies, send the updated request with a new key.
Do not automatically retry every 4xx response. Back off with jitter for transient failures, honor the bounded server retry guidance, and keep a finite retry budget in your integration.