Axios, graphql: No 'Access-Control-Allow-Origin' header is present on the requested resource

Maybe it’s duplicated anyway i’ve searched this specific case without finding anything related.

I’m working to plot a chart with tradingview and bitquery api using axios and graphql

The config of my query goes like this:

Bitquery.endpoint, {
                query: Bitquery.GET_COIN_INFO,
                variables: {
                    "tokenAddress": symbolName
                mode: 'cors',
                headers: {
                    "Content-Type": "application/json",
                    "X-API-KEY": "XXXXXXXXXXX",
                    "Access-Control-Allow-Origin" : "http://localhost:3000",
                    "Access-Control-Allow-Credentials" : "true",
                    "Access-Control-Allow-Methods" :" GET, POST, OPTIONS",
                    "Access-Control-Allow-Headers" : "Origin, Content-Type, Accept"                    

But i still receiving this error on console:

Access to XMLHttpRequest at '' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Could someone give me a hint upon this? Thank you!

Telegram: Contact @Bloxy_info here is the query I ran. I didn’t find any problem. Can you please try a similar approach

Ok i’ll try to refactory this but i had copied the code from you tradingview tutorial. Do you guys have a new one?