docusignapi - DocuSign API: "Invalid Signature Credentials" error using Captive (Embedded) Recipients -
i using soap based api call "createandsendenvelope" create envelope desired docusign account.
when add recipients captive/embedded recipient(s), able create envelope fine while requesting tokens captive recipients, getting error "invalid signature credentials".
here request have made against docusign demo account.
post https://demo.docusign.net/api/3.0/dsapi.asmx http/1.1 content-type: text/xml; charset=utf-8 x-docusign-authentication: <docusigncredentials> <username>****</username> <password>*****</password> <integratorkey>********</integratorkey> </docusigncredentials> vsdebuggercausalitydata: uidpo7akwkvlpm1ftqghglxmvbgaaaaah0xpou1aekulahpzehuvuhafj+e2a3jjm4f7e3pmdfmacqaa soapaction: "http://www.docusign.net/api/3.0/requestrecipienttoken" host: demo.docusign.net content-length: 1851 expect: 100-continue accept-encoding: gzip, deflate <s:envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:body xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema"> <requestrecipienttoken xmlns="http://www.docusign.net/api/3.0"> <envelopeid>353c8881-feac-4803-b1f9-5248feb04e70</envelopeid> <clientuserid>771</clientuserid> <username>minal **</username> <email>*******</email> <authenticationassertion> <assertionid>74ea161d-5dea-4a2c-8ffb-e754beaab660</assertionid> <authenticationinstant>2014-06-27t09:17:06.7147424-04:00</authenticationinstant> <authenticationmethod>password</authenticationmethod> <securitydomain>request recipient token</securitydomain> </authenticationassertion> <clienturls> <onsigningcomplete>****;event=signcomplete</onsigningcomplete> <onviewingcomplete****;event=viewcomplete</onviewingcomplete> <oncancel>*******;event=cancel</oncancel> <ondecline>******;event=decline</ondecline> <onsessiontimeout>*****;event=timeout</onsessiontimeout> <onttlexpired>*****;event=ttlexpired</onttlexpired> <onexception>*****;event=exception</onexception> <onaccesscodefailed>*****;event=accesscode</onaccesscodefailed> <onidcheckfailed>*******;event=idcheck</onidcheckfailed> </clienturls> </requestrecipienttoken> </s:body> </s:envelope>
the reason receiving error "invalid signature credentials" because when using embedded (aka captive) recipients need sign requests x509 certificate. required when integration in production, in demo environment certificates not required.
unfortunately though if receiving error means there setting or 2 not enabled on dev account, , need contact docusign support or account manager have resolved.
to possibly speed request can tell 2 options need enabled on account labeled
in session
don't enforce in session certificate
once both enabled should able use embedded recipients.
Comments
Post a Comment