docusignapi - Not receiving event notifications from DocuSign API -
i'm using the docusign rest api v2 , not receiving event notifications when posting composite template envelope endpoint. here's json request looks like:
{ 'accountid': '[ommitted]', 'status': 'sent', 'emailsubject': 'xyz corp_msa_singapore-ou_0.1_2014099.pdf', 'compositetemplates': [ { 'inlinetemplates': [ { 'sequence': '1', 'recipients': { 'signers': [ { 'email': 'jeff@mattnibecker.com', 'name': 'jeff dunham', 'recipientid': '1', 'defaultrecipient': 'true', 'clientuserid': '1' } ] } } ], 'document': { 'name': 'xyz corp_msa_singapore-ou_0.1_2014099.pdf', 'documentid': '1', 'transformpdffields': 'true', 'fileextension': '.pdf' } } ], 'eventnotification': { 'envelopeevents': [ { 'envelopeeventstatuscode': 'sent' }, { 'envelopeeventstatuscode': 'completed' }, { 'envelopeeventstatuscode': 'delivered' }, { 'envelopeeventstatuscode': 'declined' }, { 'envelopeeventstatuscode': 'voided' } ], 'includedocuments': 'true', 'requireacknowledgement': 'true', 'loggingenabled': 'true', 'url': 'http://netsureportalv2public.visusdev.com/docusigneventlistener.svc/envelopeevent' } }
the api create envelope , everything. i'm not getting event notifications. appreciated.
edit: forgot include accountid
first, docusign connect enabled account? log docusign web console, navigate preferences >> features -- ensure docusign connect checkbox enabled.
once setting verified enabled, next step in troubleshooting determine whether or not docusign attempted send notification -- "connect logs" provide information. view connect logs: log docusign web console, navigate preferences >> connect >> logs:
clicking "logs" link show log entries recent 100 messages (notifications) docusign attempted send. example:
in list of log entries, see entries related envelope api request sent?
if yes, indicates docusign did send notification (as api request specified), no acknowledgement received listener endpoint. indicates api request fine, there's problem listener endpoint (i.e., didn't receive and/or acknowledge notification). click on link log entry , read ending portion of log text. text indicate outcome of notification attempt (and should include type of error message if notification failed). example:
if don't see log entries related envelope sent via api request, indicates problem api request -- i.e., docusign never attempted send notification.
going through troubleshooting steps i've described above should @ least let know focus attention attempt resolve issue.
Comments
Post a Comment