Re: webhook response mapping

Jo_Pitts1
Level 10 - Community Advisor

webhook response mapping

All,

I am calling a webhook that is returning the following response:

{"response":[{"code":"PIP","email":"nunya@somewhere.moc","firstName":"Mnunya","lastName":"Pnunya"}]}

 I have tried two different response mappings:

Jo_Pitts1_0-1594621251456.png

and

Jo_Pitts1_1-1594621319311.png

In neither case is my field getting updated.

 

What boneheaded thing am I missing?

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: webhook response mapping

The latter is right for that response payload, so I'd look at Field Management to make sure the field isn't blocked.

Jo_Pitts1
Level 10 - Community Advisor

Re: webhook response mapping

@SanfordWhiteman ,

it actually appears to be another gotcha with the 'stuck webhook' issue you and I were discussing a while back.

This seems to apply to response mappings as well as the payload. 

Cloning it solved the problem with no other changes required!

Cheers

Jo

Jo_Pitts1
Level 10 - Community Advisor

Re: webhook response mapping

OK.  So it is still happening (i.e. nothing gets written to the field in question).

There is no update blocking on the field

Jo_Pitts1_0-1594671903624.png

Are we talking a bug in Marketo here?

SanfordWhiteman
Level 10 - Community Moderator

Re: webhook response mapping

Can you clone it again, then remove and re-add the Response Mappings before calling the webhook the first time? This should be working as shown.

Jo_Pitts1
Level 10 - Community Advisor

Re: webhook response mapping

Sanford, done

Cloned

Removed Response Mapping

Saved with no mappings

Added in Response Mapping

Saved with mapping

 

Called.. no joy.  And I swear it was working at 02:00 this morning!