【问题标题】:How do API Data Studio scopes works?API Data Studio 范围如何工作?
【发布时间】:2021-04-21 15:00:57
【问题描述】:

我正在使用 Postman 来测试 Google Data Studio API。 我收到以下呼叫错误:https://datastudio.googleapis.com/v1/assets:search?assetTypes=Report

{
   "error":{
      "code":403,
      "message":"Request had insufficient authentication scopes.",
      "status":"PERMISSION_DENIED"
   }
}

存在以下权利:

这里没有 Google Data Studio 的范围来执行其他测试: https://developers.google.com/oauthplayground/

【问题讨论】:

    标签: api google-data-studio oauth2-playground


    【解决方案1】:

    您需要 https://www.googleapis.com/auth/datastudio 范围才能使用 Data Studio API。您的 API 客户端也应该获得授权(请参阅instructions)。

    【讨论】:

      【解决方案2】:

      Google 根本不支持该 API。您不能使用 Oauth 对话框。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-05-31
        • 2010-11-11
        相关资源
        最近更新 更多