{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/4","repository_url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows","labels_url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/4/comments","events_url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/4/events","html_url":"https://github.com/Microsoft/Cognitive-Vision-Windows/issues/4","id":164369449,"number":4,"title":"Generic exception thrown when keys have expired","user":{"login":"margaretmz","id":1885008,"avatar_url":"https://avatars.githubusercontent.com/u/1885008?v=3","gravatar_id":"","url":"https://api.github.com/users/margaretmz","html_url":"https://github.com/margaretmz","followers_url":"https://api.github.com/users/margaretmz/followers","following_url":"https://api.github.com/users/margaretmz/following{/other_user}","gists_url":"https://api.github.com/users/margaretmz/gists{/gist_id}","starred_url":"https://api.github.com/users/margaretmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margaretmz/subscriptions","organizations_url":"https://api.github.com/users/margaretmz/orgs","repos_url":"https://api.github.com/users/margaretmz/repos","events_url":"https://api.github.com/users/margaretmz/events{/privacy}","received_events_url":"https://api.github.com/users/margaretmz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/labels/Computer%20Vision","name":"Computer Vision","color":"ededed"},{"url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/labels/Face","name":"Face","color":"ededed"},{"url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/labels/feature%20request","name":"feature request","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T17:54:28Z","updated_at":"2016-07-07T17:54:29Z","closed_at":null,"body":"_From @SaqibS on December 19, 2015 16:54_\n\nI have an Azure service which makes use of multiple Project Oxford APIs, and overnight calls to each of the services started failing.\r\n\r\nI looked through the logs, and found that the client libraries for both Vision and Face were throwing a System.Exception, with message: \"Transport error\".\r\n\r\nEventually, I found that invoking the APIs using rest directly, I got a useful message back, saying that the keys had expired. Why this happened is a separate issue, along with why I didn't get any emails to say that the keys were going to expire (they still show as active on the website). But that's all separate - this bug relates to the fact that the client libraries shouldn't just throw a generic Exception with such a vague message. The message returned by the rest API should be wrapped in the client-specific exception.\r\n\n\n_Copied from original issue: Microsoft/ProjectOxford-ClientSDK#13_"},"comment":{"url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/comments/231156630","html_url":"https://github.com/Microsoft/Cognitive-Vision-Windows/issues/4#issuecomment-231156630","issue_url":"https://api.github.com/repos/Microsoft/Cognitive-Vision-Windows/issues/4","id":231156630,"user":{"login":"margaretmz","id":1885008,"avatar_url":"https://avatars.githubusercontent.com/u/1885008?v=3","gravatar_id":"","url":"https://api.github.com/users/margaretmz","html_url":"https://github.com/margaretmz","followers_url":"https://api.github.com/users/margaretmz/followers","following_url":"https://api.github.com/users/margaretmz/following{/other_user}","gists_url":"https://api.github.com/users/margaretmz/gists{/gist_id}","starred_url":"https://api.github.com/users/margaretmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margaretmz/subscriptions","organizations_url":"https://api.github.com/users/margaretmz/orgs","repos_url":"https://api.github.com/users/margaretmz/repos","events_url":"https://api.github.com/users/margaretmz/events{/privacy}","received_events_url":"https://api.github.com/users/margaretmz/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T17:54:29Z","updated_at":"2016-07-07T17:54:29Z","body":"_From @yungshinlintw on February 16, 2016 16:20_\n\nHi SaqibS,\r\n\r\nThanks a lot for reporting this! We will address this for the next update."}}
{"actor":{"display_login":"margaretmz"}}