All error codes
production_not_ready
HTTP 403Not retryableThe organization is not production-ready for live API Portal sending (for example missing approved 10DLC or billing). Complete API Portal onboarding, or use a platform-entitled organization.
Example response
JSON
{
"object": "error",
"code": "production_not_ready",
"message": "The organization is not production-ready for live API Portal sending (for example missing approved 10DLC or billing). Complete API Portal onboarding, or use a platform-entitled organization.",
"request_id": "req_example123",
"docs_url": "https://docs.statxt.com/api/errors/production_not_ready",
"retryable": false,
"recommended_action": "Complete production onboarding, then retry."
}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 === "production_not_ready") {
// The organization is not production-ready for live API Portal sending (for example missing approved 10DLC or billing). Complete API Portal onboarding, or use a platform-entitled organization.
console.error(err.requestId) // include in support tickets
}
}Public reference: /docs/errors/production_not_ready