Can't add new Pages

Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank.

Builder content link

Builder public api key
6d6716075bf3427e947be208c66c12bf

What are you trying to accomplish
I want to add a new page, but when I try to add a new page I always get the 404 Error: This page could not be found

Screenshots or video link

Code stack you are integrating Builder with
NextJS, react

Hi @anna
That would happen if you’re codebase is blocking unpublished pages and sending 404, you can fix this by testing if the page is being edited or previewed by Builder and do not send the 404 page, instead render the BuilderComponent, for a detailed example I recommend following this nextjs example, specifically this line