Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing your Contentful space failed. #7

Open
dennisclemente opened this issue Apr 18, 2020 · 1 comment
Open

Accessing your Contentful space failed. #7

dennisclemente opened this issue Apr 18, 2020 · 1 comment

Comments

@dennisclemente
Copy link

dennisclemente commented Apr 18, 2020

I'm almost done with an e-commerce site I am building but getting this error message:

Accessing your Contentful space failed.
Try setting GATSBY_CONTENTFUL_OFFLINE=true to see if we can serve from cache.

I am exploring how to set contentful offline but curious to know why I am getting errors in the first place when my Contentful APIs are correct.

https://github.com/dennisclemente/discounted-products
@Khaledgarbaya

@Khaledgarbaya
Copy link
Owner

hey @dennisclemente,

This could be also due to the wrong credentials. Try replacing the env vars with hardcoded value test locally to see if the env vars are passed correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants