简体   繁体   English

我正在尝试访问文档 API 并且在身份验证中遇到错误如何解决?

[英]I'm trying to access the docusign API and I'm getting an error in authentication how to solve this?

When i'm trying to access the api, i'm getting the following error message:当我尝试访问 api 时,我收到以下错误消息:

{ "errorCode": "PARTNER_AUTHENTICATION_FAILED", "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified." { "errorCode": "PARTNER_AUTHENTICATION_FAILED", "message": "未找到或禁用指定的集成商密钥。未指定集成商密钥。" } }

I'm using the access token that returns from this URL: https://account-d.docusign.com/oauth/token , but the url address that the documentation asks to request the list of signed envelopes is this: https://demo.docusign.net/restapi/v2.1/accounts/bf672cac-****-****-****-757e9b8ebfb3/envelopes . I'm using the access token that returns from this URL: https://account-d.docusign.com/oauth/token , but the url address that the documentation asks to request the list of signed envelopes is this: https:/ /demo.docusign.net/restapi/v2.1/accounts/bf672cac-****-****-****-757e9b8ebfb3/envelopes

If I change the beginning of the end-point domain to https://account-d.docusign.com/ I get the status 200 and an HTML, which doesn't say much about the error, follows the html:如果我将端点域的开头更改为https://account-d.docusign.com/我会得到状态 200 和 HTML,它并没有说明错误,遵循 ZFC35FDC70D5FC69D256EZA878C3:

<!doctype html>
<html ng-app="LoginAppNext.App" lang="en" class="account-server">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0">
    <meta name="description" meta-description>
    <title>DocuSign</title>
    <link href="https://docucdn-a.akamaihd.net/olive/images/2.15.0/favicons/favicon.ico" rel="shortcut icon"
        type="image/x-icon">
    <base href="/">
    <link rel="canonical" href="https://account-d.docusign.com/" />




    <link href="/LoginAppNext/styles/olive/and/app?v=7_dKAUfFq_HQdBnGB4k7hYZKoOae-bgnT30ORlEXHEk1" rel="stylesheet" />

    <!-- 21.1.2.19210 DA2DFE5 ac4fea07-f999-49e8-b450-a9bd5aa45430 -->
    <!-- PAGE-TITLE DIRECTIVE MUST BE LAST INSIDE THE HEAD TAG -->
    <page-title></page-title>
</head>

<body class="site-content">

    <form name="fixtureForm">
        <input id="fixtureInput" value="illegible value that is returned in the request">
    </form>
<div ui-view></div>

        <!--[if (!IE)|(gt IE 8)]><!-->
        <script src="/LoginAppNext/core_via_npm?v=HmqVrseATw9A8eLx4-PxjAKYi3QSWgFzyC0R2L_sc9Q1"></script>


        <!--<![endif]-->
        <!--[if lte IE 8]>
      <link href="/LoginAppNext/styles/legacy?v=4PA642FFntoeJCbU9Xo8MtjFl47UpOhb1wGcStBQ1UU1" rel="stylesheet"/>

      <script src="/LoginAppNext/core_via_npm/legacy?v=k4d0Yt_N4blS8S0QrMQ8yybLJtbXex6uQ8SkokHHi_41"></script>


        <style type="text/css">
            /*
                Older browsers (IE8) may interpret the new tags as having an empty XML namespace
                when Angular attempts to generate them, so we need to deal with the default styling of those elements, too.
            */

            \:article,
            \:aside,
            \:details,
            \:figcaption,
            \:figure,
            \:footer,
            \:header,
            \:hgroup,
            \:main,
            \:nav,
            \:section,
            \:summary {
              display: block; }
        </style>
    <![endif]-->
        <script src="/LoginAppNext/templates?v=daF9DMXq4GIP_dsEt7fCPBYMN-A6Xk9bMZC4suEj0r01"></script>

        <script src="/Scripts/app?v=lfm-G_adZ-QhT3MeHhQWFFV_fQ6ENsg6BV4q01boB6M1"></script>


</body>

</html>

Its likely that you are not passing the Authorization header in your request.您的请求中可能没有通过授权 header。 In your postman request please add this in the "headers" tab just under where you enter the resource uri, in the format of Key:Authorization Value: Bearer {AccessToken}在您的 postman 请求中,请将其添加到您输入资源 uri 下方的“标题”选项卡中,格式为 Key:Authorization Value: Bearer {AccessToken}

Please have a look at our postman collection that you can easily import to see how this works: https://github.com/docusign/postman-collections请查看我们的 postman 集合,您可以轻松导入以了解其工作原理: https://github.com/docusign/postman-collections

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试使用 runOnUiThread bu 出现错误,因为我使用的 String var 应该是最终的,我该如何解决? - I'm trying to use runOnUiThread bu getting error since the String var i'm using should be final how can i solve it? 我收到 gradle 错误,我该如何解决? - I'm getting a gradle error, how can I solve it? 我在Java Mail API的身份验证过程中遇到错误 - I'm getting an error in the authentication process in java mail API 尝试访问REST Web应用程序时出现404错误 - I'm getting 404 error when trying to access REST webapp 我得到这个错误..pls指导我解决它 - I m getting this error ..pls guide me to solve it 我无法查明试图构造FileInputStream的错误。 我是编程新手 - I'm not able to pinpoint the error I'm getting trying to construct FileInputStream. I'm relatively new to programming 尝试将 CSS 与 JavaFx 一起使用,但出现错误 - Trying to use CSS with JavaFx and i'm getting an error 为什么在尝试在 db 中插入新对象时出现错误? - Why I'm getting an error when I'm trying to insert a new object in db? 我正在尝试将xlsx转换为csv,但是我正在获取此异常 - i m trying to convert xlsx to csv but i m getting this exception 我正在尝试创建Dynamic EditText但是获取错误 - I'm trying to create Dynamic EditText But getting Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM