All error codes
provider_unavailable
HTTP 503RetryableThe messaging carrier is temporarily unavailable. Retry with the same Idempotency-Key.
How to resolve
- Retry with the same Idempotency-Key after Retry-After seconds.
- Contact support with request_id if the outage persists.
Example response
JSON
{
"object": "error",
"code": "provider_unavailable",
"message": "The messaging carrier is temporarily unavailable. Retry with the same Idempotency-Key.",
"request_id": "req_example123",
"docs_url": "https://docs.statxt.com/api/errors/provider_unavailable",
"retryable": true,
"recommended_action": "Retry with the same Idempotency-Key after Retry-After seconds.",
"retry_after_seconds": 30
}SDK handling
TypeScript
import { StatxtClient, StatxtApiError } from "@statxt/sdk"
const client = new StatxtClient({ apiKey: process.env.STATXT_API_KEY! })
try {
await client.messages.send({ ... })
} catch (err) {
if (err instanceof StatxtApiError && err.code === "provider_unavailable") {
// The messaging carrier is temporarily unavailable. Retry with the same Idempotency-Key.
console.error(err.requestId) // include in support tickets
}
}Public reference: /docs/errors/provider_unavailable