fixup error message when not authorized to query.