2017-01-10 29 views
2

我在DocuSign上创建了一个新的开发者帐户,生成了集成商密钥。现在我试图提交GET请求来检索帐户信息,但我不断收到错误消息“Integrator key is not found or disabled” 以下是我提交的使用fiddler“服务集成验证”的请求:未找到或禁用DocuSign集成商密钥

Raw HTTP请求

GET https://www.docusign.net/restapi/v2/login_information HTTP/1.1 
X-DocuSign-Authentication: {"Username": "MyEmail","Password": "MyPassword","IntegratorKey": "IntegratorKeyCreatedFromAdminConsole"} 
Host: www.docusign.net 

响应:

HTTP/1.1 401 Unauthorized 
Cache-Control: no-cache 
Content-Length: 128 
Content-Type: application/json; charset=utf-8 
X-DocuSign-TraceToken: 4694b892-09cb-41aa-b5fa-307d226e9dd0 
Date: Tue, 10 Jan 2017 16:26:33 GMT 
Strict-Transport-Security: max-age=31536000; includeSubDomains 

{ 
    "errorCode": "PARTNER_AUTHENTICATION_FAILED", 
    "message": "The specified Integrator Key was not found or is disabled." 
} 

谢谢您的帮助!

回答

0

的DocuSign应https://docs.docusign.com/esign/更新文档当他们谈论得到他们所指定去生产URL的基本URL。他们没有提及他们有演示系统的URL。他们的CURL样本不适用于DOS CURL。一个人必须使用",逃离JSON "\例如

curl -H "X-DocuSign-Authentication:{\"Username\": \"[email protected]\",\"Password\": \"xxx\",\"IntegratorKey\": \"your_key\"}" https://www.docusign.net/restapi/v2/login_information

相关问题