{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/127","labels_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/127/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/127/events","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/127","id":84195774,"number":127,"title":"receiving 500 instead of 401 when access_token is getting expired \"OneDrive for Business\"","user":{"login":"ankit-ankuagrawal","id":11455759,"avatar_url":"https://avatars.githubusercontent.com/u/11455759?v=3","gravatar_id":"","url":"https://api.github.com/users/ankit-ankuagrawal","html_url":"https://github.com/ankit-ankuagrawal","followers_url":"https://api.github.com/users/ankit-ankuagrawal/followers","following_url":"https://api.github.com/users/ankit-ankuagrawal/following{/other_user}","gists_url":"https://api.github.com/users/ankit-ankuagrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankit-ankuagrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankit-ankuagrawal/subscriptions","organizations_url":"https://api.github.com/users/ankit-ankuagrawal/orgs","repos_url":"https://api.github.com/users/ankit-ankuagrawal/repos","events_url":"https://api.github.com/users/ankit-ankuagrawal/events{/privacy}","received_events_url":"https://api.github.com/users/ankit-ankuagrawal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"katahir","id":8450034,"avatar_url":"https://avatars.githubusercontent.com/u/8450034?v=3","gravatar_id":"","url":"https://api.github.com/users/katahir","html_url":"https://github.com/katahir","followers_url":"https://api.github.com/users/katahir/followers","following_url":"https://api.github.com/users/katahir/following{/other_user}","gists_url":"https://api.github.com/users/katahir/gists{/gist_id}","starred_url":"https://api.github.com/users/katahir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katahir/subscriptions","organizations_url":"https://api.github.com/users/katahir/orgs","repos_url":"https://api.github.com/users/katahir/repos","events_url":"https://api.github.com/users/katahir/events{/privacy}","received_events_url":"https://api.github.com/users/katahir/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-02T20:23:55Z","updated_at":"2015-06-08T21:12:02Z","closed_at":null,"body":"receiving 500 error instead of 401 when access_token is getting expired and also it doesnt contain json response format\r\n\r\nfollowing is the screenshot \r\n![access_token expires](https://cloud.githubusercontent.com/assets/11455759/7946283/57ad61d4-0993-11e5-91f3-370595076862.png)\r\n"},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/comments/110141761","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/127#issuecomment-110141761","issue_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/127","id":110141761,"user":{"login":"ankit-ankuagrawal","id":11455759,"avatar_url":"https://avatars.githubusercontent.com/u/11455759?v=3","gravatar_id":"","url":"https://api.github.com/users/ankit-ankuagrawal","html_url":"https://github.com/ankit-ankuagrawal","followers_url":"https://api.github.com/users/ankit-ankuagrawal/followers","following_url":"https://api.github.com/users/ankit-ankuagrawal/following{/other_user}","gists_url":"https://api.github.com/users/ankit-ankuagrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/ankit-ankuagrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankit-ankuagrawal/subscriptions","organizations_url":"https://api.github.com/users/ankit-ankuagrawal/orgs","repos_url":"https://api.github.com/users/ankit-ankuagrawal/repos","events_url":"https://api.github.com/users/ankit-ankuagrawal/events{/privacy}","received_events_url":"https://api.github.com/users/ankit-ankuagrawal/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T21:12:02Z","updated_at":"2015-06-08T21:12:02Z","body":"@katahir , now error code is correctly cming 401...\r\n\r\nbut the response header doesnt contain Content-Type: application/json\r\nand it seems json response is not acc to format described \r\n\r\n![untitled1](https://cloud.githubusercontent.com/assets/11455759/8045462/17039b5e-0e51-11e5-9d6a-8dfc1a2ee81f.png)\r\n"}}