SOLVED

Debugging webhook

Go to solution
CarrieTaylor
Level 2

Debugging webhook

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.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Debugging webhook

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.

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Debugging webhook

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.