成功执行上线步骤后,我们将遵循上线后步骤,并尝试在docusign中访问文档时收到此完整堆栈错误。
HTTP response body: b'{"error":"invalid_grant"}2019-09-23 19:49:04,021 wct.controllers.docusign.docusign authenticate ERROR *******GIVE CONSENT URL:https://account-d.docusign.com/oauth/auth?response_type=code&client_id=[[redacted]]&scope=signature%20impersonation&redirect_uri=https%3A%2F%2Ftestfirstuplending.com%2Fdocutest%2Fdocusign_callback.html
2019-09-23 19:49:04,021 wct.controllers.docusign.docusign authenticate ERROR https://account-d.docusign.com/oauth/auth?response_type=code&client_id=[[redacted]]&scope=signature%20impersonation&redirect_uri=https%3A%2F%2Ftestfirstuplending.com%2Fdocutest%2Fdocusign_callback.html
2019-09-23 19:49:06,273 django.request handle_uncaught_exception ERROR Internal Server Error: /wct/docusign/createSignDocument/
Traceback (most recent call last):
File "/Users/mack/dev/wct/wctenv/wctenv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/Users/mack/dev/wct/wctenv/wctenv/lib/python3.7/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/mack/dev/wct/wctenv/wctenv/lib/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/Users/mack/dev/wct/wctenv/wctenv/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
答案 0 :(得分:1)
无效授权可以引用一些可能的错误状态。这里有几件事要检查:
account-d
答案 1 :(得分:0)
根据您的问题:
ERROR https://account-d.docusign.com/oauth/auth?response_type=cod...
请注意,该URL具有-d而不是生产版本。生产就不会像这样:
https://account.docusign.com/oauth/auth?response_type=cod...