# Content validation not working

**URL:** <https://community.dynatrace.com/t/content-validation-not-working/48283>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [October 11, 2024, 1:07pm UTC](https://community.dynatrace.com/t/content-validation-not-working/48283 "2024-10-11T13:07:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeteBush](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PeteBush](https://community.dynatrace.com/u/PeteBush)\
**Post date:** [October 11, 2024, 1:07pm UTC](https://community.dynatrace.com/t/content-validation-not-working/48283/1 "2024-10-11T13:07:24Z")

</div>

Hi, I’m trying to check the status of two components on the Hashicorp status page, HCP Terraform and Terraform Registry.

I’ve created a synthetic script and want to check if the status of either is “outage” but not “minor outage”.

To get round this I’m searching on DOM for the element…

_\<div data-component-id=“7cgbxrw10wgr” class=“component-inner-container status-green " data-component-status=“operational” data-js-hook=”"\>_

I’m&nbsp;using the operational status as a test, but it’s not being detected no matter what I try.

I think it may be related to the double quotes but examples in docs seem to suggest they are acceptable without any escaping.

Anyone have any ideas?

Thanks

 ![hashicorp.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/5/55bb19d51741790511a11aba62afe0dcb5d14ce0.png)

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [October 14, 2024, 5:00am UTC](https://community.dynatrace.com/t/content-validation-not-working/48283/2 "2024-10-14T05:00:56Z")

</div>

Hi Pete,

What did you select in"Amount of time to wait before the next event is triggered" field?

 ![erh_inetum_0-1728881831214.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/6/d6007bebeac545938e8f67fff6062d209fd79708.png)

Maybe trying with the two last to options could be work. Have you tested it?

Hope it helps.

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![PeteBush](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@PeteBush](https://community.dynatrace.com/u/PeteBush)\
**Post date:** [October 14, 2024, 12:34pm UTC](https://community.dynatrace.com/t/content-validation-not-working/48283/3 "2024-10-14T12:34:47Z")

</div>

Hi Elena, thank you for responding. I tried your suggestion but that didn’t work either, I think the way the page is set up DT isn’t seeing DOM properly.

Regards

Pete
