docusignapi - Senders Notifications -


i have following json request, if not use senders notifications, works if add senders notifications not, why?

{ "usersettings":[ {      "value":"false",      "name":"allowsendonbehalfof" } ], "signeremailnotifications":{     "envelopeactivation":"false",     "envelopecomplete":"false",     "carboncopynotification":"false",     "certifieddeliverynotification":"false",     "envelopedeclined":"false",     "envelopevoided":"false",     "envelopecorrected":"false",     "reassignedsigner":"false",     "purgedocuments":"false",     "faxreceived":"false",     "documentmarkupactivation":"false",     "agentnotification":"false" }, "senderemailnotifications":{     "envelopecomplete":"false",     "changedsigner":"false",     "senderenvelopedeclined":"false",     "withdrawnconsent":"false",     "recipientviewed":"false",     "deliveryfailed":"false"  } }" 

remove final " request, works me.

{ "usersettings":[ {      "value":"false",      "name":"allowsendonbehalfof" } ], "signeremailnotifications":{     "envelopeactivation":"false",     "envelopecomplete":"false",     "carboncopynotification":"false",     "certifieddeliverynotification":"false",     "envelopedeclined":"false",     "envelopevoided":"false",     "envelopecorrected":"false",     "reassignedsigner":"false",     "purgedocuments":"false",     "faxreceived":"false",     "documentmarkupactivation":"false",     "agentnotification":"false" }, "senderemailnotifications":{     "envelopecomplete":"false",     "changedsigner":"false",     "senderenvelopedeclined":"false",     "withdrawnconsent":"false",     "recipientviewed":"false",     "deliveryfailed":"false"  } } 

leaving " in there error message, indicating request has additional text after json closed

{  errorcode: "invalid_request_body"  message: "the request body missing or improperly formatted. additional text encountered after finished reading json content: \". path '', line 30, position 2." } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -