Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize
        • Getting started
        • Using traffic allocation and variant traffic assignment
        • Target a webpage
        • Apply a condition
        • Apply a segment
        • Use a decision model
            • Preview other variants and web experiments
            • Troubleshooting
    • SitecoreAI experiments
    • Using the experiment list
    • Manage experiment details
    • Set automated post-test actions
    • Set up email notifications
    • Duplicate, delete, and view details
  • Using client-side JavaScript
  • Glossary
  1. Preview a web experiment
  1. Sitecore Personalize
  2. Introduction to experiments

Troubleshooting web experiments

When you preview a web experiment, you can view variant errors in the QA tool, including Handlebars.js errors and JavaScript evaluation errors.

Note

If there are issues with the variant, the message or error displays beneath the status block.

The Sitecore Personalize QA Tool.

The following table details potential messages or errors:

Status blockMessage/ErrorTypeDefinition
Valid Experience and VariantInvalid ExperienceconfigurationThe reference you entered in the URL parameter when previewing the web experiment was incorrect.
Valid Experience and VariantInvalid VariantconfigurationThe reference you entered in the URL parameter when previewing the web experiment was incorrect.
Page TargetingTarget page criteria not metexecutionThe target webpage(s) are not valid for this page.
Page TargetingCustom targeting criteria not metexecutionThe custom JavaScript targeting code does not return truthy for the webpage browser, and so on.
Page TargetingCustom targeting code invalidconfigurationThe custom JavaScript is invalid and cannot run on the webpage.
AudienceAudience criteria not metexecutionThe guest is not in the segment you chose when you targeted a segment for the web experiment.
AudienceCustom audience criteria not metexecutionThe JavaScript entered for the real-time audience does not return truthy.
AudienceCustom audience code invalidconfigurationThe JavaScript entered for the real-time audience is invalid and cannot execute.
Variant HTML/CSS/JSJavaScript Evaluation ErrorconfigurationThe JavaScript entered in the JavaScript editor is invalid and unable to be evaluated.
Variant HTML/CSS/JSHandlebarsJS Error in HTMLconfigurationThe Handlebars JavaScript that you entered in the HTML editor is invalid.
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use