DocuSign REST API - create envelope id but error: Authentication fail
<p>REST Request accepted by Docusign, create envelope and transaction id. But responds with Authentication fail for recipient. </p>

<p>Response: INVALIDAUTHENTICATIONSETUP Authentication is not setup correctly for the recipient.</p>

<pre><code>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"
</code></pre>

<p><strong>JSON Header</strong></p>

<p>URL: <a href="https://demo.docusign.net/restapi/v2/accounts/1be73a9a-a25a-4221-8188-385a6a815b5b/envelopes/101" rel="nofollow">https://demo.docusign.net/restapi/v2/accounts/1be73a9a-a25a-4221-8188-385a6a815b5b/envelopes/101</a> </p>

<p>Set header "X-DocuSign-Authentication" to value </p>

<pre><code>{
"Username":"b037ea2d-7fff-4974-bbad-**********",
"Password":"******",
"IntegratorKey":"d84fd933-e69b-49fc-b67a-**********"
}
</code></pre>

<p>and json body:</p>

<p><a href="https://www.scribd.com/document/317788272/Request-Json" rel="nofollow">https://www.scribd.com/document/317788272/Request-Json</a></p>

<p><strong>DocuSign API log</strong></p>

<p>File: 08_OK_ExecuteLoggedApiBusinessLogic.txt</p>

<pre><code>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

{}
</code></pre>

<p>But still response has status code 400 with error "Authentication is not setup correctly for the recipient"</p>