Fetching content failed, expected apiKey to be defined instead got: null

Hi there, I’m facing an error while try to make a new page in next.js. The error is from builder.io.
Can you please explain what this error mean. because I tried a lot but didn’t find any solution.

Screenshots or video link
*


*

Code stack you are integrating Builder with
NextJS, react

Hi Anupama!
I hope you’re doing well.

Could you please, confirm that you have configured the Builder Public API key on your next.js project pages directory?

For creating a new page and configuring dynamic routing in next.js, you can find help at Setting up visual drag-and-drop page building with Next.js

Thank you so much @manish-sharma, It worked :innocent:.

Hi @anupama.sharmaa,

We are really glad to hear that.

Feel free to reach out to us for any further questions. Thank you!

1 Like

Facing same issue, but already setup keys in builder.init.