Cloudflare GraphQL Analytics API does not have access to the path

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

I suspect that’s it. This person created a list:

1 Like

I am having this same issue. This page in the documentations https://developers.cloudflare.com/analytics/graphql-api/features/discovery/settings/ says:

Although we allow access to ALL plans for the essential datasets (like httpRequestsAdaptiveGroups, firewallEventsAdaptive, etc), users on larger plans benefit from an extended set of datasets and wider query limits.

This reads to me that free tier users are supposed to have access to httpRequestsAdaptiveGroups.

However, I followed this guide: https://developers.cloudflare.com/analytics/graphql-api/features/discovery/settings/ and the response I got said "enabled": false, suggesting that it isn’t available for the free tier.

I have a same error,I want know the what plan can use the clientRequestPath 。$20?I need it。
我也同样的错误,我想知道什么付费计划,才可以。 $20?
{
viewer {
zones (filter: {zoneTag: “XXX”}){
httpRequestsAdaptiveGroups(filter:{
AND: [
{
date_geq : “2025-01-18”,
date_lt : “2025-01-19”
},
{
clientRequestPath_like:“/product/
},
{
botManagementDecision:“allowed”
}
]

  },limit : 1 ){
    
    dimensions{
      clientRequestPath
    }
  }
}

}
}