Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

10 replies

Keerthana_Shan1
New Participant
September 11, 2019

Hi Team,

Kindly find the details below,

Webhook request type is JSON, it contains default value as "edit me" for all the token. The webhook was working fine till 2nd Aug 2019 but from 3rd Aug2019 we faced issue in JSON as edit me are not replace as null.

Existing working json contains double code for token values, after the edit me issue tried both with/without double quote request. Still null is not replaced in both the cases.

Sample JSON request:

PersonId={{lead.Id:default=edit me}}&emailaddress="{{lead.Email Address:default=edit me}}"&FirstName="{{lead.First Name:default=edit me}}"&LastName= "{{lead.Last Name:default=edit me}}"

Sample webhook output request:

PersonId=123&emailaddress="abc@gmail.com"&FirstName="edit me"&LastName= "edit me"&FullName= ""&Company= "edit me"

Thanks.

SanfordWhiteman
Level 10
September 11, 2019

That's not JSON.

It's form-URL-encoded with -- and this is very unusual, and generally wrong unless you've built a non-standard back end -- double-quoted values.

In any case, I'm not understanding your complaint. The output you show is exactly what you should expect if values are empty and you have included a default.

Keerthana_Shan1
New Participant
September 12, 2019

Thanks Sanford. Apologies for type, actually request type was Post, response type is JSON & request token encoding is Form-Url.