在docusign api中请求身份验证令牌时最大重试错误

问题描述 投票:0回答:1

在docusign版本3.1.0中,在沙盒模式下为pthon版本3.5和3.6中。出现以下错误

MaxRetryError at /return_url/8a2108d2-ee01-4c1a-ae53-47d305a92988/
HTTPSConnectionPool(host='https', port=443): 
  Max retries exceeded with url: //account-d.docusign.com/oauth/token
 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
 object at 0x7fe15ca63438>: Failed to establish a new connection:
 [Errno -2] Name or service not known',))
python python-3.6 docusignapi python-3.5
1个回答
0
投票
看来您已经接近目标,但不正确。例如,为什么错误消息显示host='https'-主机应为account-d.docusign.comhttps://account-d.docusign.com

您是否正在为Python使用OAuth授权代码授予库?我总是建议使用图书馆。请参阅我们的eg-03-python-auth-code-grant示例,该示例使用flask_oauthlib。

© www.soinside.com 2019 - 2024. All rights reserved.