Exception message probably ought to say 'No api url provided to collection query'?