GraphQL "not autorized for that account"

Hi,

I’m new to using GraphQL, so I used the instructions in this link to obtain my data as a CSV file.

https://developers.cloudflare.com/analytics/graphql-api/tutorials/export-graphql-to-csv/

But I get the error “not authorized for that account” when I run the Python script.

I also followed the guidelines to create an Analytics API Token, so I don’t know what is wrong.

https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/api-token-auth/

It happened to someone else or maybe I missed some configuration?

The tutorial you are following defines as prerequisites that you be “entitled to access Network Analytics”, which means you need an Enterprise Plan as well as Magic Transit or Spectrum.

Make sure you have the necessary prerequisites activated on your account, and in case you already do, open a ticket with Cloudflare Support so they can investigate why the API is returning that error.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.