Skip to content

AWS End User Messaging do not receive messages from whatsapp webhook

0

Problem: WhatsApp incoming messages not reaching SNS topic I created a WhatsApp Business Account and linked it to AWS End User Messaging, but incoming messages from WhatsApp are not reaching the SNS topic that I configured as the event destination. I am guessing there is an issue with the internal webhook configuration from Meta to AWS, which is preventing incoming messages from WhatsApp from reaching the SNS topic.

Evidence:

  • Outbound messages work (can send from AWS to WhatsApp) using the command: aws socialmessaging send-whatsapp-message
  • Quality rating is GREEN for the phone numbers (AWS ↔ Meta communication works)
  • Service-linked role exists and is functional
  • SNS → Lambda works perfectly (tested)
  • No incoming messages reach SNS topic
  • No social-messaging CloudWatch logs appear
  • SNS topic policy looks correct and allows messages from the WABA
  • SNS topic has not encryption enabled, so there are no KMS permission issues
  • The messages on whatsapp appears with 2 arrows so they arrived to the phone.
  • The phone numbers where created for AWS so I have no control over them.
1 Answer
0
Accepted Answer

Based on the symptoms you're describing, the most likely issue is that the event destination is not enabled for your WhatsApp Business Account (WABA). This is a critical requirement that must be configured for incoming messages to flow from WhatsApp to your SNS topic.

To receive incoming messages, you must:

  1. Verify the event destination is enabled: Event destinations must be explicitly enabled for the WABA to receive messages. Even if you've created and configured an event destination with your SNS topic, it won't receive incoming messages unless it's enabled.

  2. Check your event destination configuration: Ensure that you've properly set up an event destination and associated it with your WABA. The event destination should be configured to send events to your SNS topic.

  3. Verify SNS topic subscription: You must subscribe to the Amazon SNS topic's endpoint to receive notifications when incoming message events are saved to the topic. Without an active subscription, you won't be notified of incoming messages even if they're being delivered to the topic.

Since your outbound messages work correctly and your quality rating is green, this confirms that the basic AWS-to-Meta communication is functioning properly. The issue is specifically with the inbound message flow, which requires the event destination to be properly configured and enabled.

Review your WABA configuration in the AWS End User Messaging Social console to ensure the event destination is both created and enabled. This is separate from just having the SNS topic configured correctly.
Sources
Responding to a message in AWS End User Messaging Social - AWS End User Messaging Social

answered 2 months ago
EXPERT
reviewed 2 months ago
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.