【发布时间】:2016-07-07 21:41:23
【问题描述】:
Docusign 接受 REST 请求,创建信封和交易 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 错误“没有为收件人正确设置身份验证”
【问题讨论】:
-
欢迎来到 SO!我不知道,但我想它必须对“身份验证设置”做些什么,所以请分享(编辑问题)
-
感谢您的回复,我添加了更多详细信息。您的指导将不胜感激...
-
请记住对所有有用的答案(包括其他人的问题)进行投票,并“检查”(选择)您自己问题的最佳答案。谢谢!
-
嘿拉里,我在第一个错误中将短信验证标签设为空,因此我得到了
标签: docusignapi