Analytics GraphQL CORS issue

Hi,
I’m using this example https://developers.cloudflare.com/analytics/graphql-api/tutorials/build-your-own-analytics and I’m getting CORS issue. Is that tutorial missing some steps?

afaik api.cloudflare.com has never responded with third-party-friendly CORS headers for security and anti-abuse reasons, maybe this tutorial is just ignorant and they were testing with cors disabled.

Hello,
Did you solve this problem, I get the same error How can I fix it Help please

you can add cors headers to analytics API response using CF Worker, see this tutorial https://developers.cloudflare.com/workers/examples/cors-header-proxy