Debugging webhook | Community
Skip to main content
New Participant
April 8, 2021
Solved

Debugging webhook

  • April 8, 2021
  • 1 reply
  • 2342 views

Hello - 

 

Is there a way to debug a webhook and see what is being passed from Marketo? I thought there used to be more information in the activity log but I am not seeing what is actually being sent.  When I test all the same information in Postman, it works but when I try it in Marketo I get an error.  

 

When we check the application logs, it just says that there is a mandatory parameter missing when calling the API but not what is missing.  So I am trying to figure out what Marketo is sending.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Unfortunately, when you have a failed webhook call Marketo doesn't show you the payload that was sent. Sort of counterintuitive!

 

But debugging from the sort of HTML-ified version of the payload isn't so great anyway. 

 

You should set up a mock endpoint (ngrok, httpbin) etc. and send the payload there. It's way better to see everything as it truly is on the wire. I've had to debug webhooks where it came down to UTF8-encoded CRs vs CRLFs. You have to see the raw payload to catch that.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
April 8, 2021

Unfortunately, when you have a failed webhook call Marketo doesn't show you the payload that was sent. Sort of counterintuitive!

 

But debugging from the sort of HTML-ified version of the payload isn't so great anyway. 

 

You should set up a mock endpoint (ngrok, httpbin) etc. and send the payload there. It's way better to see everything as it truly is on the wire. I've had to debug webhooks where it came down to UTF8-encoded CRs vs CRLFs. You have to see the raw payload to catch that.