Write Webhook Errors into Lead Fields | Community
Skip to main content
Michael_Florin-2
Level 10
March 7, 2022
Solved

Write Webhook Errors into Lead Fields

  • March 7, 2022
  • 1 reply
  • 1625 views

Hello all!

 

This is a failed webhook call in a person's activity history. Can I write "Error String", "Response" and/or "Error Type" onto the person record in order to use them in tokens or export them?

 

And if yes: What would be the names of these fields in order to map them in the "Response Attributes" section of the webhook?

 

Thanks!
Michael

 

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 Darshil_Shah1

Similar thread here!

Fyi: In order for Marketo to map values back into a field, the webhook response code must be of the form 2xx . If the intent of the webhook is to change values in the Marketo lead record via the response, then the Web Service which is called must return 2xx, all other response codes will result in the webhook being ignored for the purpose of updating lead record values. Hope this helps!

 

1 reply

Darshil_Shah1
Community Advisor and Adobe Champion
Darshil_Shah1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 7, 2022

Similar thread here!

Fyi: In order for Marketo to map values back into a field, the webhook response code must be of the form 2xx . If the intent of the webhook is to change values in the Marketo lead record via the response, then the Web Service which is called must return 2xx, all other response codes will result in the webhook being ignored for the purpose of updating lead record values. Hope this helps!

 

Michael_Florin-2
Level 10
March 7, 2022

Thank you Darshil - I should have found that thread.

 

(Congrats on your Champion nomination btw! :-))

Darshil_Shah1
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 7, 2022

Thank you so much, @michael_florin-2! I feel lucky and honored being part of such an awesome community of users!

Hope you have a good week. 🙂