Not able to see drafts, but can see live preview

When I click on “View Current Draft”, I see a page with no content - just my background, header and footer.

In the dev console I see the error “Uncaught Error: Fetching content failed, expected apiKey to be defined instead got: null”.

When I click on “View Live Page”, I see the page as expected.

I’m curious what could cause the key to be found in the live environment, but not the draft one.

Builder content link

What are you trying to accomplish
I would like draft previews to show the full content of the page.

Screenshots or video link
The API Key error message:
Screenshot 2024-10-11 at 4.43.39 PM

Page in draft mode with no content shown:

Code stack you are integrating Builder with
Nest.js

Hey @mdimitras the error indicates an issue with the API key configuration. Please share your integration code with me to investigate this further.