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.

Probable Causes

  • More than 24 hours have elapsed since the customer last sent an inbound message
  • Attempting to reply with a non-template text payload outside the active service window
  • Automated follow-up triggered without an approved Meta Utility or Marketing template

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 } }
Quick Answers

Frequently Asked Questions

How do I reopen the 24-hour window?+

Send an approved Meta template message with an engaging question or button. When the user taps a button or replies, the 24-hour session restarts.

Can automated bots bypass the 24-hour rule?+

No. The 24-hour rule is enforced at Meta network layer. Only approved pre-registered templates can be sent outside the window.

Need Technical Help?

Resolve WhatsApp API Issues Fast with NY Digital

Our certified Meta API engineering team helps Indian enterprises diagnose webhook bugs, unblock banned numbers, and scale messaging limits safely.

Speak with Our Engineering Team
Chat on WhatsApp