Model Working in Local Environment but Not in QA Environment

What are you trying to accomplish
When using the model in the local environment, it works fine. However, in the online QA environment, the model is not loading. I cross-checked it with existing models that are working correctly, and they both appear the same in the settings. When I checked the console logs of BuilderContent, I noticed that the lastPreviewUrl is different. The model that is not working starts with cms-, while the working model does not. I suspect this might be the cause. I’m not sure whether I missed something during the model creation process or if I need to use a new model.

I would appreciate your help in identifying the issue, as we have tried our best to resolve it from our side

Code stack you are integrating Builder with
e.g. NextJS

Hello @Arun_Murugesan,

Welcome to the Builder.io forum. We’re glad to have you here.

Could you please share the URL of the model entry from your QA environment that is not loading? Once we have the link, we can take a closer look and assist you further.

Looking forward to your response.

Hi @manish-sharma

I can’t share the full URL with the keys, so I’ve masked them. Here is the lastPreviewUrl, which I suspect might be causing the issue

URL that works fine - https://SITE_URL.com/PAGE_URL_1?builder.space=UNIQUE_KEY&builder.user.permissions=read%2Ccreate%2Cpublish%2CeditCode%2CeditDesigns%2Cadmin%2CeditLayouts%2CeditLayers&builder.user.role.name=Admin&builder.user.role.id=admin&builder.cachebust=true&builder.preview=SECTION_MODEL&builder.noCache=true&builder.allowTextEdit=true&_builder_editing_=true&builder.overrides.SECTION_MODEL=UNIQUE_KEY&builder.overrides.UNIQUE_KEY=UNIQUE_KEY

URL that is not working - https://cms-SITE_URL.com/PAGE_URL_2?builder.space=UNIQUE_KEY&builder.user.permissions=read%2Ccreate%2Cpublish%2CeditCode%2CeditDesigns%2CeditLayouts%2CeditLayers%2CeditContentPriority%2CeditFolders%2CeditProjects%2CmodifyMcpServers%2CmodifyWorkflowIntegrations%2CmodifyProjectSettings%2CconnectCodeRepository%2CcreateProjects%2CindexDesignSystems%2CsendPullRequests&builder.user.role.name=Developer&builder.user.role.id=developer&builder.cachebust=true&builder.preview=MODEL_2&builder.noCache=true&builder.allowTextEdit=true&_builder_editing_=true&builder.overrides.SECTION_MODEL=UNIQUE_KEY&builder.overrides.UNIQUE_KEY=UNIQUE_KEY&builder.options.locale=Default

Thank you, I appreciate your help