{"action":"opened","issue":{"url":"https://api.github.com/repos/evernote/evernote-cloud-sdk-ios/issues/125","repository_url":"https://api.github.com/repos/evernote/evernote-cloud-sdk-ios","labels_url":"https://api.github.com/repos/evernote/evernote-cloud-sdk-ios/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/evernote/evernote-cloud-sdk-ios/issues/125/comments","events_url":"https://api.github.com/repos/evernote/evernote-cloud-sdk-ios/issues/125/events","html_url":"https://github.com/evernote/evernote-cloud-sdk-ios/issues/125","id":145408501,"number":125,"title":"authenticateWithViewController problem","user":{"login":"nix7965","id":17521363,"avatar_url":"https://avatars.githubusercontent.com/u/17521363?v=3","gravatar_id":"","url":"https://api.github.com/users/nix7965","html_url":"https://github.com/nix7965","followers_url":"https://api.github.com/users/nix7965/followers","following_url":"https://api.github.com/users/nix7965/following{/other_user}","gists_url":"https://api.github.com/users/nix7965/gists{/gist_id}","starred_url":"https://api.github.com/users/nix7965/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nix7965/subscriptions","organizations_url":"https://api.github.com/users/nix7965/orgs","repos_url":"https://api.github.com/users/nix7965/repos","events_url":"https://api.github.com/users/nix7965/events{/privacy}","received_events_url":"https://api.github.com/users/nix7965/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-02T19:35:18Z","updated_at":"2016-04-02T19:35:18Z","closed_at":null,"body":"When I execute this part,\r\nENSession *session = [ENSession sharedSession];\r\n[session authenticateWithViewController:self preferRegistration:NO completion:^(NSError *error) {\r\n    if (error) {\r\n\r\n    } else {\r\n\r\n    }\r\n}];\r\n\r\nI got error.\r\n\r\n<UINavigationController: 0x12ed36440> on <ViewController: 0x12ee1f000> whose view is not in the window hierarchy! \r\n<UINavigationController: 0x12ed36440> on <ViewController: 0x12ee1f000> whose view is not in the window hierarchy!\r\n2016-04-02 15:25:12.148 TryAppium1[1232:17517] Received error HTTP response code: 401\r\n2016-04-02 15:25:12.148 TryAppium1[1232:17517] <html>\r\n<head>\r\n<meta charset=\"utf-8\" />\r\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=9,chrome=1\" />\r\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\" />\r\n<link rel=\"Shortcut Icon\" href=\"/favicon.ico\" type=\"image/x-icon\" />\r\n<link rel=\"stylesheet\" href=\"/redesign/global/css/reset.css\" />\r\n\r\n<link rel=\"stylesheet\" href=\"/redesign/global/css/fonts.css\" media=\"all\" />\r\n\r\n<link rel=\"stylesheet\" href=\"/redesign/global/css/header.css\" />\r\n<link rel=\"stylesheet\" href=\"/redesign/global/css/layout.css\" />\r\n\r\n<title>Evernote Error</title>\r\n</head>\r\n    <body>\r\n        <div class=\"header\">\r\n            <div class=\"header-inner\">\r\n                <a href=\"https://sandbox.evernote.com/Home.action?/\" class=\"evernote-logo\">Evernote</a></div>\r\n            </div>\r\n            <div id=\"container-boundingbox\" class=\"wrapper\">\r\n                <div id=\"container\" class=\"wrapper\">\r\n                    <div class=\"main\">\r\n                        <div class=\"page-header\">\r\n                            <h1>\r\n                                Oops, we encountered an error.</h1>\r\n                        </div>\r\n                    <div>\r\n                        <p>\r\n                            Sorry, we've encountered an unexpected error.</p>                    </div>\r\n                    <div class=\"clear\"></div>\r\n                </div>            </div>\r\n            <div class=\"footer wrapper\">\r\n                <a href=\"https://sandbox.evernote.com/Home.action?/tos/\" class=\"footer-entry\">Terms of Service</a><a href=\"https://sandbox.evernote.com/Home.action?/privacy/\" class=\"footer-entry\">Privacy Policy</a><span class=\"footer-entry last\">Copyright 2016 Evernote Corporation. All rights reserved.</span>\r\n            </div>        </div>    </body></html>\r\n\r\n\r\nAnybody knows how to solve it? Seems like ViewControlloer problem. But, I don't have much knowledge in iOS programming"}}