HTTP 500Server
api_error
Internal server error - retry with exponential backoff.
What this means
An unexpected server-side error occurred. These are tracked automatically and alerted on.
How to recover
Retry with exponential backoff (e.g. 1s, 2s, 4s, cap at 30s). If persistent, escalate to support.
Example response
All TetraFi errors include a stable code, a human-readable message, and a docs_url pointing to this page.
JSON
1{2 "error": {3 "code": "api_error",4 "message": "Internal server error - retry with exponential backoff.",5 "docs_url": "https://tetrafi.io/docs/integration/errors/api_error/"6 }7}7 linesjson
Match in code
TypeScript
1try {2 await tetrafi.rfq.create({ /* ... */ });3} catch (err) {4 if (err.code === "api_error") {5 // Retry with exponential backoff (e.g. 1s, 2s, 4s, cap at 30s). If persistent, escalate to support.6 }7 throw err;8}8 linestypescript