Error : Failed to execute 'fetch' on 'Window': Invalid name

I’m getting this error while trying to fetch a graphql query from hasura to my react frontend using auth0 as authentification service provider: Error : Failed to execute ‘fetch’ on ‘Window’: Invalid name . Can’t seem to find any relevant help by googling. Maybe you guys have a clue as to where the error originates?

Hi @Rasmus_Kynd :wave: welcome to the community forum! I think that error message usually is the result of an invalid HTTP header being sent in the request. Can you share the code where you set request headers (without exposing sensitive information, please :slight_smile:)? Here are a couple SO threads that might provide some context: