在沙箱模式下的docusign版本3.1.0、python版本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',))
从错误消息中,您似乎没有正确指定URL
你应该给https://account-d.docusign.com/oauth/token发帖子
看起来你很接近,但不正确。例如,为什么错误消息显示
host='https'
主机应该是account-d.docusign.com
或https://account-d.docusign.com
您是否正在使用Python的OAuth授权代码授权库?我总是建议使用图书馆。请参阅我们的eg-03-python-auth-code-grant示例,它使用flask_oauthlib
相关问题 更多 >
编程相关推荐