Why am I getting error code 4100 – EC_MESSAGE_CANCELED?

Error code 4100 – EC_MESSAGE_CANCELED occurs when the message validity period expires before Meta returns any delivery acknowledgment. Although the message was submitted successfully, it failed due to a lack of response within the set time. This may happen if the recipient is inactive or not connected to WhatsApp.

Why it occurs

This error typically happens when the recipient does not receive or acknowledge the message within the configured validity period. Common reasons include the user being offline, having WhatsApp closed for an extended time, or connectivity issues.

Steps to resolve the issue

1. Check validity period settings

– Review the validity period defined for the message in your request.
– Increase the duration if needed to allow more time for delivery.

2. Consider recipient activity

– Confirm that the recipient is actively using WhatsApp and has a stable internet connection.
– Inactivity or prolonged disconnection may prevent timely message delivery.

3. Resend the message

– If the message was canceled, try resending it with an extended validity period.
– Monitor for delivery acknowledgment after resending.

4. Optimize message timing

– Schedule messages at times when recipients are most likely to be online.
– This increases the chance of timely delivery and acknowledgment.

5. Contact Support

If the issue persists, contact our Support team at [email protected]. Please include:

– Your Infobip account username
– The recipient number and message details
– The original validity period and any steps already taken