{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1279","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1279/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1279/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1279/events","html_url":"https://github.com/MailCore/mailcore2/issues/1279","id":116964909,"number":1279,"title":"fetchMessageOperationWithFolder error=Error Domain=MCOErrorDomain Code=19","user":{"login":"rlaferla","id":1135694,"avatar_url":"https://avatars.githubusercontent.com/u/1135694?v=3","gravatar_id":"","url":"https://api.github.com/users/rlaferla","html_url":"https://github.com/rlaferla","followers_url":"https://api.github.com/users/rlaferla/followers","following_url":"https://api.github.com/users/rlaferla/following{/other_user}","gists_url":"https://api.github.com/users/rlaferla/gists{/gist_id}","starred_url":"https://api.github.com/users/rlaferla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlaferla/subscriptions","organizations_url":"https://api.github.com/users/rlaferla/orgs","repos_url":"https://api.github.com/users/rlaferla/repos","events_url":"https://api.github.com/users/rlaferla/events{/privacy}","received_events_url":"https://api.github.com/users/rlaferla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-15T00:57:55Z","updated_at":"2015-11-16T13:47:15Z","closed_at":null,"body":"I'm getting the following error w/Mailcore when trying to get the content for a IMAP message on gmail.  Other email clients can apparently retrieve the message.\r\n\r\n```\r\nIMAP LOG: Type 1 :: Data: <38205549 44204645 54434820 35393439 3120424f 44592e50 45454b5b 5d0d0a>\r\nData String :: 8 UID FETCH 59491 BODY.PEEK[]\r\n\r\nIMAP LOG: Type 0 :: Data: <38204f4b 20537563 63657373 0d0a>\r\nData String :: 8 OK Success\r\n\r\nfetchMessageOperationWithFolder error=Error Domain=MCOErrorDomain Code=19 \"An error occurred while fetching messages in the requested folder.\" UserInfo={NSLocalizedDescription=An error occurred while fetching messages in the requested folder.}\r\nError fetching IMAP message 59491\r\n```\r\n\r\nThis is the code:\r\n\r\n```\r\n    MCOIMAPFetchContentOperation * op = [imapSession fetchMessageOperationWithFolder:msg.mailFolder.folderName uid:msg.imapMessage.uid urgent:YES];\r\n    [op start:^(NSError * error, NSData * messageData) {\r\n        DLog(@\"fetchMessageOperationWithFolder error=%@\", error);\r\n        \r\n        if(error) {\r\n            NSLog(@\"Error fetching IMAP message %u\", msg.imapMessage.uid);\r\n        }\r\n        else {\r\n         //  blah blah blah\r\n        }\r\n    }];\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/157030687","html_url":"https://github.com/MailCore/mailcore2/issues/1279#issuecomment-157030687","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1279","id":157030687,"user":{"login":"rlaferla","id":1135694,"avatar_url":"https://avatars.githubusercontent.com/u/1135694?v=3","gravatar_id":"","url":"https://api.github.com/users/rlaferla","html_url":"https://github.com/rlaferla","followers_url":"https://api.github.com/users/rlaferla/followers","following_url":"https://api.github.com/users/rlaferla/following{/other_user}","gists_url":"https://api.github.com/users/rlaferla/gists{/gist_id}","starred_url":"https://api.github.com/users/rlaferla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlaferla/subscriptions","organizations_url":"https://api.github.com/users/rlaferla/orgs","repos_url":"https://api.github.com/users/rlaferla/repos","events_url":"https://api.github.com/users/rlaferla/events{/privacy}","received_events_url":"https://api.github.com/users/rlaferla/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T13:47:15Z","updated_at":"2015-11-16T13:47:15Z","body":"That's insightful.  As a precaution, my code should check if the set contains any UIDs before calling the operation?  Also, the documentation on vanishing/disappearing is lacking.  Does that mean that the messages need to be deleted?"}}