REST Request accepted by Docusign, create envelope and transaction id. But responds with Authentication fail for recipient.
Response: INVALIDAUTHENTICATIONSETUP Authentication is not setup correctly for the recipient.
response code:
"pyMessage": "Authentication is not setup correctly for the
"pyErrorCode": "INVALIDAUTHENTICATIONSETUP"
"pyStatusMessage": "the HTTP response code of 400 indicated a client error. The response data may contain a reason.",
"pyStatus": "Fail",
"pyHTTPResponseCode": "400",
"pyStatusValue": "Fail: Unexpected HTTP 400 Response code"
JSON Header
URL: https://demo.docusign.net/restapi/v2/accounts/1be73a9a-a25a-4221-8188-385a6a815b5b/envelopes/101
Set header "X-DocuSign-Authentication" to value
{
"Username":"b037ea2d-7fff-4974-bbad-**********",
"Password":"******",
"IntegratorKey":"d84fd933-e69b-49fc-b67a-**********"
}
and json body:
https://www.scribd.com/document/317788272/Request-Json
DocuSign API log
File: 08_OK_ExecuteLoggedApiBusinessLogic.txt
enter code here
Host: demo.docusign.net
x-docusign-clienttransactionid: T24120121904615319199
x-docusign-diagnostics: {storedProcedureEventLogThreshold:300}
x-docusign-timetrack: REQ_SENT,2016-07-08T15:13:48.116Z;REST0_Start,2016-07-08T15:13:48.0389520Z
X-SecurityProtocol-Version: TLSv1.2
X-SecurityProtocol-CipherSuite: ECDHE-RSA-AES256-GCM-SHA384
200 OK
Content-Type: application/json; charset=utf-8
X-DocuSign-ClientTransactionId: T24120121904615319199
X-DocuSign-TimeTrack: REQ_SENT,2016-07-08T15:13:48.116Z;;REST0_Start,2016-07-08T15:13:48.0389520Z;REST0_End,2016-07-08T15:13:48.0701940Z
{}
But still response has status code 400 with error "Authentication is not setup correctly for the recipient"