Meta API Error Codes
Error 131047
400 Bad Request
WhatsApp Error 131047: Re-engagement Message 24-Hour Window Expired (Fix)
Error 131047 occurs when your application attempts to send a regular free-form text or media message more than 24 hours after the customer last message.
construction Step-by-Step Resolution
Recommended Fix Protocol:
Outside the 24-hour window, you MUST use an approved Meta message template (type: template). Once the customer replies to your template message, a new 24-hour customer service window opens, allowing free-form messaging again.
Technical Example / Code Payload:
{
"error": {
"message": "(#131047) Message failed to send because more than 24 hours have passed since the customer last replied to this number.",
"type": "OAuthException",
"code": 131047
}
}