When I call ViewQuery.range() without end key, error occurs
Error: bad_request: invalid UTF-8 JSON: {{error,insufficient_data},[]}
I captured http traffic and found that empty endkey value.
http://couchbase:8092/ichamp/_design/vod_api/_view/list_by_program?limit=4&startkey="hello"&endkey&skip=1
If I remove endkey from url, it works.
NodeJS SDK should remove endkey parameter when endkey is undefined value.