Skip to content
Tradebird Docs
Developer guides and referenceIntegrate with Tradebird

Check whether an action succeeded after a timeout

Your script asks a service system to open a request. The connection drops before it returns a request number. Both outcomes are possible: the service may already have created the record, or it may never have received the call.

  1. Read the work status and any stored receipt. Keep the original request key, inputs, destination, and work ID together.
  2. Look up the record in the destination using the operation’s supported lookup. If it exists, use its ID.
  3. For an operation documented as idempotent, retry with the same request key and identical input. If the outcome remains uncertain, leave it for an authorized person to resolve before asking for another write.

For a runner operation that may have committed externally, use its read-only lookup and Runner.reconcile where the operation supports it. Supply the original operation ID and compatible code. A missing external record can still leave the result uncertain. An authorized person can inspect the evidence and decide whether to continue.

For one-time secrets, check issuance state. If the secret was lost, revoke it and issue a replacement. A retry cannot reveal a spent secret. Common API errors.

A message succeeds and its feedback fails

An integration should retain the feedback receipt and revision. If the supplier message succeeded but its feedback needs a retry, retry only the feedback with the original request key. Verify the current assessment after an edit.