# Visual editor / preview doesn't work

**URL:** <https://forum.builder.io/t/visual-editor-preview-doesnt-work/302>\
**Category:** Technical Questions\
**Tags:** gatsby\
**Created:** [November 21, 2020, 3:45pm UTC](https://forum.builder.io/t/visual-editor-preview-doesnt-work/302 "2020-11-21T15:45:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chris](https://forum.builder.io/u/chris)\
**Post date:** [November 21, 2020, 3:45pm UTC](https://forum.builder.io/t/visual-editor-preview-doesnt-work/302/1 "2020-11-21T15:45:14Z")

</div>

Excited about builder io - it sounds like exactly what we need for both technical and non-technical users. Unfortunately, the visual editor doesn’t work for us!

I’ve set up a test project as per github… gatsby-starter-builder, added the sample models, API key, running locally with _gatsby develop_. No changes to the starter project. I can see the site on [builder.io](http://builder.io) where it loads localhost:8000/ into the preview.

If I edit some text the preview doesn’t reflect the change, same for adding or removing components.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/1X/9d36c17d504ac83df6f3a0a72e285b7516aac672.png)

I’ve tried

- Installing Chrome plugin
- proxy previews
- gatsby develop --https
- Using the sample project versions of dependencies ie @builderio/gatsby 1.0.8
- Using the latest versions of all dependencies ie @builderio/gatsby 1.0.11

Making an edit does trigger a few events:

- GET /api/v1/screenshot?.. HTTP 500
- GET /api/internal/get-max-box-sizes?.. HTTP 500
- Uncaught (in promise) SyntaxError: Unexpected token E in JSON at position 0

builderio looks so promising… can you help us get started?

Thanks

“Sorry, new users can only put 2 links in a post” - writing this post was a lot harder than it needed to be.

---

<div class="post-metadata">

**Author:** ![chris](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chris](https://forum.builder.io/u/chris)\
**Post date:** [November 21, 2020, 5:44pm UTC](https://forum.builder.io/t/visual-editor-preview-doesnt-work/302/2 "2020-11-21T17:44:03Z")

</div>

OK so it seems that the missing link is simply setting the ‘preview url’ to a page that doesn’t already exist such as **builder\_editing** as mentioned on [https://www.builder.io/c/docs/guides/preview-url](https://www.builder.io/c/docs/guides/preview-url).

For a new user this github page [https://github.com/BuilderIO/gatsby-starter-builder](https://github.com/BuilderIO/gatsby-starter-builder) is the entire guide for using builderio with the gatsby framework but it doesn’t mention the preview url.

Can I please suggest a review of the git readme and maybe a more detailed guide for gatsby users?

I’d even suggest renaming ‘preview-url’ to something more like ‘building-url’… I thought it was supposed to be the url of the page I was viewing, especially as that’s what it defaults to!

---

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [December 1, 2020, 7:30pm UTC](https://forum.builder.io/t/visual-editor-preview-doesnt-work/302/3 "2020-12-01T19:30:08Z")

</div>

Hi @chris 👋🏻 Welcome to Builder!

I’m glad you were able to resolve the issue and get everything working. The readme has been updated with more details on the preview URL.

Thanks for reaching out. If you have any other questions, don’t hesitate to reach back out.

---

<div class="post-metadata">

**Author:** ![aziz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/aziz/32/2551_2.png) [@aziz](https://forum.builder.io/u/aziz)\
**Post date:** [December 1, 2020, 8:12pm UTC](https://forum.builder.io/t/visual-editor-preview-doesnt-work/302/4 "2020-12-01T20:12:38Z")

</div>

There was an issue with editing and previewing due to a stale sdk version in the starter codebase, it’s all been resolved now after this PR was merged [https://github.com/BuilderIO/gatsby-starter-builder/pull/13](https://github.com/BuilderIO/gatsby-starter-builder/pull/13)

Thanks for pointing this one out
