Not Getting appropriate data in WebHook Payload

Hi,
I have created a webhook subscribed to events (contact.creation, contact.deletion, contact.propertyChange). As per insturctions i have exposed a public endpoint for hubSpot to send events to. When event occures I am getting the request on my server but there is no revelent data in the request, i.e. i am not geeting the data or body in the request object. What can be done for this?

Hey, @ParvG :waving_hand: Thanks for your question! These issues can be tough to diagnose.

Have you tried:

  • Separating out your subscriptions to test if the issue is specific to a particular event type?
  • Tried logging out the entire incoming request on your server, including headers, body, and any query parameters? To verify exactly what is being sent
  • Have you tested your webhooks using something RequestBin? To inspect what data is being sent
  • Tried taking a step back and simple webhook logic that just logs the incoming request and gradually building up the complexity?

Best,

Jaycee