When querying REST APIs, you might come across an error message like this. If you enable the "debug" option at the PocketQuery macro, you will get something like this:
Message: java.util.LinkedHashMap cannot be cast to java.util.List
This basically means that your Query is working fine, but the result cannot be displayed as a table - which is the default for PocketQuery. Most likely, your result is nested and naturally multiple levels cannot be displayed using a simple table.
How to solve this: