When a webhhok fails - the response mapping does not work? | Community
Skip to main content
June 26, 2013
Duplicate

When a webhhok fails - the response mapping does not work?

  • June 26, 2013
  • 6 replies
  • 2311 views
Hi, i want to store some result fields into Marketo fields once the webhook fails.
But it does not work.
I can see the error message on the results tab of the compaign but the response mapping does not work.
For example, this is the response i receive:
{"timestamp":1372233958185,"error":{"httpStatus":500,"reason":"Last name is missing from the request","message":"Internal server error while invalid entity.","code":10003},"status":"Enrichment Failed"}

And i am mapping the "status" field to a custom field.
But the result does not enter the field.

Any ideas?

thanks

6 replies

New Participant
February 24, 2020
No text available
July 2, 2013
You can filter for failures by "webhook is called" with constraint "Response" contains "Server Error"
July 2, 2013
I can do this. However, this way i won't see the webhook as failed in the result table. it will seem like it succeeded.
June 27, 2013
Amnon,
We parse the response whenever we get a HTTP response code of 200.  Would it be possible for you to change the response code on your side for this error?
June 27, 2013
It still does not work. (what was fixed was webhooks update response fields in general, but this scenario of error was not fixed)
when i get an error response from webhook and this data:
{"timestamp":1372308838846,"error":{"httpStatus":500,"reason":"Last name is missing from the request","message":"Internal server error while invalid entity.","code":10003},"status":"Enrichment Failed"}

The status which is mapped to custom field does not update the field.
thanks

June 26, 2013
We have fixed this issue now.  Please retry