Return JSONError for HTTPResponse error