Make sure the returned list matches the return object that is configured in the query action.
So for example if your output is:
Identifier,Name
1,Athilakshmi
You would need an entity that has 1 int and 1 string attribute named Identifier and Name to retrieve the result in a list.