gpt4 book ai didi

docusignapi - DocuSign 错误 : unauthorized_client while trying to generate access token

转载 作者:行者123 更新时间:2023-12-02 19:14:27 26 4
gpt4 key购买 nike

我正在尝试使用代码 ( https://developers.docusign.com/platform/auth/authcode/authcode-get-token ) 使用 DocuSign API 生成 access_token

我正在调用 POST 请求:https://account-d.docusign.com/oauth/token

具有以下正文 (application/x-www-form-urlencoded):{"grant_type": "授权码","code": "用户登录后得到的code"

授权:“基本 encodedBase64(integrationKey:SecretKey)”

我得到的错误是:{“错误”:“无效授权”,“error_description”:“unauthorized_client”

我真的需要帮助。非常感谢

最佳答案

要检查的事情:

  1. Authorization: "Basic encodedBase64(integrationKey:SecretKey)" 中替换了有效的集成 key 和 key ,因此这是您从 DocuSign 开发者帐户获得的实际值。 (引号的方式表明您将其作为字符串值,而没有编码实际值)。
  2. 该代码仅在 2 分钟内有效。
  3. 标题中使用了用于获取代码的同一 IK。

推荐你试试DocuSign eSignature Postman Collection这是为你做的,你可以看到这是如何完成的。

关于docusignapi - DocuSign 错误 : unauthorized_client while trying to generate access token,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63864838/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com