# Alerts - Infinity data source - No data or Error

**URL:** <https://community.grafana.com/t/alerts-infinity-data-source-no-data-or-error/142599>\
**Category:** Alerting\
**Tags:** infinity-datasource, alerting, plugins, url, api\
**Created:** [February 5, 2025, 10:55am UTC](https://community.grafana.com/t/alerts-infinity-data-source-no-data-or-error/142599 "2025-02-05T10:55:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bs43](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/bs43/32/51961_2.png) [@bs43](https://community.grafana.com/u/bs43)\
**Post date:** [February 5, 2025, 10:55am UTC](https://community.grafana.com/t/alerts-infinity-data-source-no-data-or-error/142599/1 "2025-02-05T10:55:01Z")

</div>

I tried creating an alert with infinity data source, initially i normally configured like panels and it showed no data. So switched to backend parser got this error  
Normally if we try its showing no data

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/d/d/dd70e94bbd653237aa3bc62821c336fb50bcb0e4.png)

> [sse.readDataError] [A] got error: input data must be a wide series but got type long (input refid)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/9/8/98490af884f74087aa695af493d6a556c835ad99.png)

Also didn’t leave UQL as well still no data

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/a/d/adb84b7bd342e98bfa16afd3bd78d77ed729f721.png)

my response if i hit api  
{“request”:“new"mbean”:app":type=Restricted",“attribute”:“new”,“type”:“read”},“value”:false,“timestamp”:1898504360,“status”:200}

---

<div class="post-metadata">

**Author:** ![bs43](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/bs43/32/51961_2.png) [@bs43](https://community.grafana.com/u/bs43)\
**Post date:** [February 6, 2025, 5:48am UTC](https://community.grafana.com/t/alerts-infinity-data-source-no-data-or-error/142599/2 "2025-02-06T05:48:47Z")

</div>

If api returns only one of the following jsons and it’s not an array  
Actually, missed one number field, so if we keep a number field which is important for alerts then it’s okay.  
You can also do the same through Rows/Root

> ${  
> “request”: request,  
> “value”: $string(value)  
> }

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/1/8/1800a31e748f1c956b93125db3d6fc751d5e92b1.png)  
And set alert in threshold with status or define it in expression to customize.

Below is implemented though column selector

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/2/b/2b2e45db45dd51728245761f0808c8ca75344720.png)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/a/9/a996a5cae0b20e034ee197ef4ba39f9c443201dc.png)

Thanks @dawiddebowski
