# Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type long (input refid)

**URL:** <https://forums.percona.com/t/failed-to-evaluate-queries-and-expressions-failed-to-execute-conditions-input-data-must-be-a-wide-series-but-got-type-long-input-refid/31392>\
**Category:** Uncategorized\
**Created:** [July 3, 2024, 1:10pm UTC](https://forums.percona.com/t/failed-to-evaluate-queries-and-expressions-failed-to-execute-conditions-input-data-must-be-a-wide-series-but-got-type-long-input-refid/31392 "2024-07-03T13:10:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mantresh\_Kumar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mantresh_kumar/32/16685_2.png) [@Mantresh\_Kumar](https://forums.percona.com/u/Mantresh_Kumar)\
**Post date:** [July 3, 2024, 1:10pm UTC](https://forums.percona.com/t/failed-to-evaluate-queries-and-expressions-failed-to-execute-conditions-input-data-must-be-a-wide-series-but-got-type-long-input-refid/31392/1 "2024-07-03T13:10:01Z")

</div>

I was trying to set an alert on the basis of high execution time of slow query.

But getting this error “Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type long (input refid)”

But the same query is working on “Execute”

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/c/3/c3adb3a921eed4c64a29da4117de25753977fcfe.png)

But the same query is showing the above ERROR while setting alert.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/9/8/985c995fa279186ff3ac1ec768d810d26a1aa945.png)

---

<div class="post-metadata">

**Author:** ![Mantresh\_Kumar](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mantresh_kumar/32/16685_2.png) [@Mantresh\_Kumar](https://forums.percona.com/u/Mantresh_Kumar)\
**Post date:** [July 5, 2024, 5:39am UTC](https://forums.percona.com/t/failed-to-evaluate-queries-and-expressions-failed-to-execute-conditions-input-data-must-be-a-wide-series-but-got-type-long-input-refid/31392/2 "2024-07-05T05:39:05Z")

</div>

Can Anyone help me to resolve this issue?
