Hello,
First time joining the forum and reading through some bug posts, I wasn’t able to find a related issue or solution and want to check if this is a known bug.
I created a few fields for a Page Modal. In preview and running locally, when fetching:
const content = await builder
.get(LANDING_PAGE, {
url: pageUrl,
cachebust: true,
preview,
})
.promise();
there is sometimes an Error
and other times successfully returns content
. Refreshing the preview url gives inconsistent results.

If it is not a known issue, I am happy to provide further information to work towards resolution.
Hi @jdsmith022 , Welcome to the forum community!
Could you share a request sample for Success and Failure case? We can further examine this issue.
Thank you for reaching out here!
Hello jdsmith022,
Just wanted to follow up. If you are able to share a Success and Failure case, we would be better able to assist.
Hello,
Apologies for the late reply. The request for both when the content is returned and an error occurs response with a 200 and I can see the correct data present in the response in the network tab. However, the UI is not updated consistently and when logging the content I receive the following error message.
It makes it difficult for our non-tech team members to edit pages if the data is not be updated properly in the preview.
Here is the curl for success:
curl 'https://cdn.builder.io/api/v3/query/e63aabfdb0a345afbc93cb9bcfa3a47b/onboarding-landing-page?omit=meta.componentsUsed&apiKey=e63aabfdb0a345afbc93cb9bcfa3a47b&userAttributes.urlPath=%2Fo%2Flike-jessica&userAttributes.host=registrieren.cliq.de&userAttributes.device=desktop&cachebust=true&isEditing=true&noCache=true&overrides.onboarding-landing-page=4fff4d232b3b4f26a0f09252a39d2938&overrides.4fff4d232b3b4f26a0f09252a39d2938=4fff4d232b3b4f26a0f09252a39d2938&overrides.onboarding-landing-page%3A%2Fpreview%2F=4fff4d232b3b4f26a0f09252a39d2938&options.onboarding-landing-page.preview=true&options.onboarding-landing-page.model=%22onboarding-landing-page%22&preview=true' --compressed -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://registrieren.cliq.de/' -H 'Origin: https://registrieren.cliq.de' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: cross-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers'
and failure:
curl 'https://cdn.builder.io/api/v3/query/e63aabfdb0a345afbc93cb9bcfa3a47b/onboarding-landing-page?omit=meta.componentsUsed&apiKey=e63aabfdb0a345afbc93cb9bcfa3a47b&userAttributes.urlPath=%2Fpreview%2F&userAttributes.host=registrieren.cliq.de&userAttributes.device=desktop&cachebust=true&isEditing=true&noCache=true&overrides.onboarding-landing-page=4fff4d232b3b4f26a0f09252a39d2938&overrides.4fff4d232b3b4f26a0f09252a39d2938=4fff4d232b3b4f26a0f09252a39d2938&overrides.onboarding-landing-page%3A%2Fpreview%2F=4fff4d232b3b4f26a0f09252a39d2938&options.onboarding-landing-page.model=%22onboarding-landing-page%22&preview=true' --compressed -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://registrieren.cliq.de/' -H 'Origin: https://registrieren.cliq.de' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: cross-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers'
Thank you for your assistance.