You're absolutely right...that error message is seriously unhelpful!
And in fact, we already have a ticket for this. :) The fix has already
been merged and will appear in the next version (which will be
released in a few days):
https://github.com/puppetlabs/puppetdb/pull/267
The patch should apply cleanly to your terminus if you need it
beforehand, and if it doesn't let us know and we can craft a patch for
you that works!
deepak
--
Deepak Giridharagopal / Puppet Labs