successful doesn't appear to be a method - check for a 2xx code