It seems that some SQL are not avaiable to couchdb, like "filters" (I know, pretty obvious).
Did you try to do a Service that don't need any filter or SQL, to show all record, just for test.
For example:
https://df.enterprise.dreamfactory.com/api/v2/couch/_table/newsfeed?api_key=**
This route will show all feeds.
I'd talk about Custom Script, but it would be the same.