storyblok / gatsby-source-storyblok

Gatsby source plugin for building websites using the Storyblok headless CMS as a data source.
MIT License
43 stars 35 forks source link

Visual Editor not working #121

Closed bugattie closed 1 year ago

bugattie commented 2 years ago

Hi, I built a website for a client on Gatsby and I used Storyblok to manage content. After deploying it to Netlify the visual editor is not working saying https://webstarsltd.netlify.app/ refused to connect. I thought maybe Netlify has some issues so I deployed it on Gatsby Cloud but again the same issue https://webstarsfinalmaster.gatsbyjs.io/ refused to connect. Any workaround for the issue, please?

One thing I notice, For both URLs, if I open up the developer's console I saw an error You need to provide an access token to interact with Storyblok API. And a warning You are not in Draft Mode or in the Visual Editor.

Please help me find the solution.

schabibi1 commented 1 year ago

@bugattie Did you provide a public API key token in Netlify? https://docs.netlify.com/environment-variables/overview/

It's been a while, so it's not relevant to keep this issue open. But let me know/feel free to re-open this issue if you still face this issue.