Error: Apollo Client requires config file

When I execute a query in VSCode, I get the following result -

Error: graphql operation failed t: GraphQL Config file is not available in the provided config directory: -PROJECT ROOT DIRECTORY- Please check the config directory.

Some research suggests there is meant to be a .graphqlconfig file. I can’t find any configuration files in the folder structure. Should there be one? Is this just a VSCode thing? The error object is returning a 400 code. The query is working ok from GraphQL Explorer Sandbox (I’m running an Apollo server).

Any ideas as to what this is about?

Many thanks

Many thanks for your help.

1 Like