             }
             
             guard let issues = issues else {
-                completion(self.invalidResponse)
+                completion(Errors.response)
                 return
             }
             

    /// Updates the supplied `Bot` entity with the response.
    public static func triggerIntegration(forBot bot: Bot, completion: @escaping XCServerCoreDataCompletion) {
        guard let moc = bot.managedObjectContext else {
            completion(self.invalidManagedObjectContext)
            return
        }
        
        guard let xcodeServer = bot.xcodeServer else {
            completion(self.invalidXcodeServer)
            return
        }
        

    /// Updates the supplied `Integration` entity with the response.
    public static func syncIssues(forIntegration integration: Integration, completion: @escaping XCServerCoreDataCompletion) {
        guard let moc = integration.managedObjectContext else {
            completion(Errors.managedObjectContext)
            return
        }
        
        guard let bot = integration.bot else {
            completion(Errors.bot)
            return
        }
        
        guard let xcodeServer = bot.xcodeServer else {
            completion(Errors.xcodeServer)
            return
        }
        
