This content has been marked as final. Show 5 replies
org.json.JSONException is a Java exception at your end caused by malformed JSON. Either the webhook template has invalid JSON or the token escape format in webhook admin is incorrect. We need more information to investigate - can you please log a support ticket?
How do i check the token escape format in the webhook admin to see if something is wrong there?
I would like to note that this does not happen on every webhook send so this does not seem to be like a configuration issue, otherwise i would expect this to happen every time.
That indeed sounds like an escaping problem. If you could isolate the lead for whom the WH call failed, I'd recommend testing for that lead on http://requestb.in/. To do so, follow these steps -
- create a new requestbin
- clone your WH definition
- Change WH endpoint to requestbin endpoint from step #1
- Trigger the WH
- Inspect details of the WH data on requestbin
This is a great tool, thanks for this.
But, the problem is that the webhook is defined on our customer's marketo instances. And this problem does not reproduce on every request. it can happen once in a while.
So, i can't ask our customers to send requests to the bean all the time until it is reproduced.
Is there anything else I can try?
If you could filter out the webhooks that failed (there is a filter for that), you'll have to send only one of those to requestBin.