# Help: Failed to execute query selector on element

**URL:** <https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [June 26, 2022, 9:05am UTC](https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453 "2022-06-26T09:05:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitsh](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@amitsh](https://community.plotly.com/u/amitsh)\
**Post date:** [June 26, 2022, 9:05am UTC](https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453/1 "2022-06-26T09:05:07Z")

</div>

hey guys, im trying t render a table on to a dash page,  
the table renders perfectly but a few seconds later it crashes saying:  
“Failed to execute ‘querySelector’ on ‘Element’: ‘td[data-dash-column=“AirSpeed 2900  
40+40MHz  
n48  
Numerology=1,SCS=30Khz”][data-dash-row=“0”]:not(.phantom-cell)’ is not a valid selector”  
anyone knows what this is and how come it successfully renders and only then disappears?

---

<div class="post-metadata">

**Author:** ![drgitt](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@drgitt](https://community.plotly.com/u/drgitt)\
**Post date:** [November 29, 2022, 11:04pm UTC](https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453/2 "2022-11-29T23:04:36Z")

</div>

hey amitsh. you ever solve this issue??

I’m getting an almost identical error myself. Thanks in advance ^\_^.

drgitt

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [November 29, 2022, 11:08pm UTC](https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453/3 "2022-11-29T23:08:00Z")

</div>

Hello @drgitt,

Welcome to the community!

It is really hard to say what is going on without a little bit more detail.

Could you please post an MRE?

> [@How to write a Minimal Reproducible Example (MRE)](https://community.plotly.com/t/how-to-write-a-minimal-reproducible-example-mre/61502):
>
> Adding a minimal reproducible example to your questions will help attract community members to answer your question. The goal of writing a MRE is to allow other members of the community to run the code on their computers and “reproduce” the error, so that they can best help you. Please make sure that your MRE includes data and that the code is correctly pre-formatted. To preformat, copy and paste the code in your post and then click on \</\> (Preformatted text), as shown on the image:

---

<div class="post-metadata">

**Author:** ![imhiya](https://avatars.discourse-cdn.com/v4/letter/i/ed8c4c/32.png) [@imhiya](https://community.plotly.com/u/imhiya)\
**Post date:** [June 11, 2023, 2:28pm UTC](https://community.plotly.com/t/help-failed-to-execute-query-selector-on-element/65453/4 "2023-06-11T14:28:44Z")

</div>

Btw, I found that the solution was to not have qoutes " within the header of the datatable.
