CloudFlare GraphQL Analytic API无法访问路径

发布于 2025-02-11 20:35:58 字数 1039 浏览 1 评论 0原文

当我尝试查询此查询时

query ($zoneID: String!) {
  viewer {
    zones(filter: {zoneTag: $zoneID}) {
      httpRequestsAdaptiveGroups(filter: {date_gt: "2022-05-29"}, limit: 100) {
        count
        dimensions {
          requestSource
        }
        sum {
          visits
          edgeResponseBytes
        }
      }
    }
  }
}

,它给了我这个错误,

{
  "data": null,
  "errors": [
    {
      "message": "zone '0ab45c20ea56c46d2db5999b19221234' does not have access to the path",
      "path": [
        "viewer",
        "zones",
        "0",
        "httpRequestsAdaptiveGroups"
      ],
      "extensions": {
        "code": "authz",
        "timestamp": "2022-06-29T06:14:55.82422442Z"
      }
    }
  ]
}

如何可以访问查看httprequestsadaptivegroups,我是否必须升级项目计划,因为现在它目前已在 free tier

我尝试过的内容 上到目前为止,都向所有区域提供了可读的验证,但它仍然发生

When I tried query this query

query ($zoneID: String!) {
  viewer {
    zones(filter: {zoneTag: $zoneID}) {
      httpRequestsAdaptiveGroups(filter: {date_gt: "2022-05-29"}, limit: 100) {
        count
        dimensions {
          requestSource
        }
        sum {
          visits
          edgeResponseBytes
        }
      }
    }
  }
}

and it gave me this error

{
  "data": null,
  "errors": [
    {
      "message": "zone '0ab45c20ea56c46d2db5999b19221234' does not have access to the path",
      "path": [
        "viewer",
        "zones",
        "0",
        "httpRequestsAdaptiveGroups"
      ],
      "extensions": {
        "code": "authz",
        "timestamp": "2022-06-29T06:14:55.82422442Z"
      }
    }
  ]
}

How to have access to viewing httpRequestsAdaptiveGroups, do I have to upgrade the project plan because right now it is currently on free-tier

What I've tried so far was giving all the zone readable-permission and it still happen

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文