Fatal error: Uncaught exception 'CouchbaseServerException' with message '[0, ]' in xyz.php on line x

Thanks for the tip @acpadhi , I can confirm that querying an existing doc before calling the view seems to make the exception dissapear. An ugly hack but makes it work.