Skip to content

restricted_content

The order has content SMS can't carry

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: restricted_content · HTTP status: usually 422

The order contains restricted content that cannot be sent by SMS.

Send an email instead.

{
"code": "restricted_content",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/restricted-content/",
"title": "The order has content SMS can't carry",
"status": 422,
"detail": "The order contains restricted content that cannot be sent by SMS. Send an email instead.",
"errors": [
"The order contains restricted content that cannot be sent by SMS"
],
"details": [
{
"code": "restricted_content",
"message": "The order contains restricted content that cannot be sent by SMS",
"path": null,
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support