MESSAGING_CONSENT_NOT_GRANTED
403invalid_requestThe customer has not granted messaging consent.
Cause
A message was attempted before the customer opted in to messaging.
How to fix it
Obtain messaging consent before sending.
Example response
403 MESSAGING_CONSENT_NOT_GRANTED
JSON
{
"error_code": "MESSAGING_CONSENT_NOT_GRANTED",
"error_type": "invalid_request",
"error_message": "The customer has not granted messaging consent.",
"hint": "Obtain messaging consent before sending.",
"docs_url": "https://docs.billerapi.com/errors/MESSAGING_CONSENT_NOT_GRANTED",
"request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}Related
- Error handling — the error envelope shape and how to parse it
- Error code reference — every stable error code
Canonical docs URL: https://docs.billerapi.com/errors/MESSAGING_CONSENT_NOT_GRANTED
Was this page helpful?