Debugging with GraphiQL

Hi there! I’m new to using Contentful.

I am developing a Gatsby site on my local machine and want to grab the data through the GraphQL API.

However, GraphiQL is giving me this error:

‘’’’
{“errors”:[{“message”:“Authentication failed. The access token is missing from the headers”,“extensions”:{“contentful”:{“code”:“ACCESS_TOKEN_MISSING”,“requestId”:“c536e366-adb8-40b0-bd89-e21613c2c93b”}}}]}
‘’’’

I did generate a token (Content management tokens), but not sure how to ADD HEADER in GraphiQL.

https://graphql.contentful.com/content/v1/spaces/54y2f50bprqw is the endpoint I am using.

Thanks in advance!

1 Like

I’m facing the same issue

1 Like