Skip to main content
Level 2
April 8, 2021
Risolto

Debugging webhook

  • April 8, 2021
  • 1 risposta
  • 2366 visualizzazioni

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.

Questo argomento è stato chiuso alle risposte.
Migliore risposta di 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 risposta

SanfordWhiteman
Level 10
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.