I have connection establish and when i run scan i do get the results
![Screenshot 2023-10-26 at 9.25.01 AM](https://community.retool.com/uploads/default/original/3X/6/2/622f6a828150e48d059e8688432f04368c31c9f9.png)
but i connect to the data source i get the error The selected data source is empty or could not be converted to an array.
![Screenshot 2023-10-26 at 9.25.13 AM](https://community.retool.com/uploads/default/original/3X/a/a/aa5e5136c2e3540024520db84488eedaf433412d.png)
I see that it has list of items wondering why i get the error and not sure how to resolve as i am new to retool
1 Like
Hey @Ajay_Kumar, do you see the data property of that query populated in the state tab?
A couple of things could lead to this scenario.
- Previewing the query vs running it will not load the data in the app model
- Making a change to the query and saving it will remove the old data, and the query needs to be re-run.
Let me know if you are still seeing this and a screenshot of the query.data property from the state tab would be helpful, thanks!