Throw error on bad apikey request.