"Invalid method: " + method. But is this likely? Wasn't the method already checkup upstream?