首页 文章

DocuSign REST API-创建信封 ID,但错误:身份验证失败

提问于
浏览
0

REST 请求被 Docusign 接受,创建信封和交易 ID。但是对收件人的身份验证失败。

响应:INVALIDAUTHENTICATIONSETUP 接收者的身份验证未正确设置。

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 标头

网址:https://demo.docusign.net/restapi/v2/accounts/1be73a9a-a25a-4221-8188-385a6a815b5b/envelopes/101

将标题“ X-DocuSign-Authentication”设置为值

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

和 json 主体:

https://www.scribd.com/document/317788272/Request-Json

DocuSign API 日志

档案: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

{}

但是响应仍然带有状态代码 400,错误为“接收者的身份验证未正确设置”

1 回答

相关问题