throw error if no database nodes available