Hi, I am using the Infinity Data source, doing a API call to receive JSON data. The problem is when the query doesn’t send me any data back, I got a “Warning” message in the panel. Is there a way to avoid the “warning” message? Maybe using any condition somewhere in the infinity query?
Thanks!
Ruben
Welcome @cuponesruben
Out of the box, no. But there might be ways to get what you need.
What visualization are you using?
Thanks@yosiasz, I am using table visualization.
Try to use Business text plugin and make a rest API call using JavaScript
Thanks, I am a little lost, dont know much javascript. I also found you worked in something similar before, Infinity - Customize API Error.
The difference is that my API doesnt reply any error code. This would be an example of my call: curl “https://www.feroeg.com/address?lat=40.710204&lon=-74.010544”. As you can see, if there is no country for the longitude or latitude, we get an empty answer and a “warning” in the panel.Thanks for your help.
Is this a paid service or your own API. Anyways that plugin cannot account for every possible API issue
Not my API, it is a free API… Looks like we dont have many options.
Thanks for your help.