【发布时间】:2019-07-15 15:39:51
【问题描述】:
我有一个文档签名沙盒帐户。我正在尝试将 docusign 与我的应用程序集成,并在 java 中使用 JWT Grant 进行身份验证。我从https://github.com/docusign/eg-01-java-jwt 获得了一个示例代码,它完美运行了一个小时,然后 API 开始失败。
知道如何解决这个问题吗?
我收到以下错误
我已经尝试将令牌到期时间从 1 小时更改为其他较小的值(5 分钟、30 分钟)。即便如此,API 也会在一小时后开始出现故障。
https://github.com/docusign/eg-01-java-jwt
错误信息
{"timestamp":1560750467288,"status":500,"error":"Internal Server Error","message":"Error while requesting server, received a non successful HTTP code 401 with response Body: '{\r\n \"errorCode\": \"USER_AUTHENTICATION_FAILED\",\r\n \"message\": \"One or both of Username and Password are invalid. Invalid access token\"\r\n}'","path":"{path}"}
【问题讨论】:
-
请看我更新的答案
标签: docusignapi docusigncompositetmplts