{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/developer-support/issues/280","repository_url":"https://api.github.com/repos/Esri/developer-support","labels_url":"https://api.github.com/repos/Esri/developer-support/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/Esri/developer-support/issues/280/comments","events_url":"https://api.github.com/repos/Esri/developer-support/issues/280/events","html_url":"https://github.com/Esri/developer-support/issues/280","id":190754580,"number":280,"title":"Error getting token","user":{"login":"briankingery87","id":11079452,"avatar_url":"https://avatars.githubusercontent.com/u/11079452?v=3","gravatar_id":"","url":"https://api.github.com/users/briankingery87","html_url":"https://github.com/briankingery87","followers_url":"https://api.github.com/users/briankingery87/followers","following_url":"https://api.github.com/users/briankingery87/following{/other_user}","gists_url":"https://api.github.com/users/briankingery87/gists{/gist_id}","starred_url":"https://api.github.com/users/briankingery87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankingery87/subscriptions","organizations_url":"https://api.github.com/users/briankingery87/orgs","repos_url":"https://api.github.com/users/briankingery87/repos","events_url":"https://api.github.com/users/briankingery87/events{/privacy}","received_events_url":"https://api.github.com/users/briankingery87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T15:46:56Z","updated_at":"2016-11-21T15:50:09Z","closed_at":null,"body":"I keep getting this error and all I've done is replace the username and password variables.\r\n\r\n> Traceback (most recent call last):\r\n  File \"C:\\Users\\brian.kingery@vdot.virginia.gov\\Desktop\\Kingery\\Python\\itemSizeCSV\\itemSizeCSV.py\", line 34, in <module>\r\n    t= ItemCounterHelper.agolAdmin(user,pw)\r\n  File \"C:\\Users\\brian.kingery@vdot.virginia.gov\\Desktop\\Kingery\\Python\\itemSizeCSV\\ItemCounterHelper.py\", line 22, in __init__\r\n    self.__token, self.__ssl= self.__getToken(username, password)\r\n  File \"C:\\Users\\brian.kingery@vdot.virginia.gov\\Desktop\\Kingery\\Python\\itemSizeCSV\\ItemCounterHelper.py\", line 75, in __getToken\r\n    return jres['token'],jres['ssl']\r\nKeyError: 'token'\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/Esri/developer-support/issues/comments/261976307","html_url":"https://github.com/Esri/developer-support/issues/280#issuecomment-261976307","issue_url":"https://api.github.com/repos/Esri/developer-support/issues/280","id":261976307,"user":{"login":"nohe427","id":3211589,"avatar_url":"https://avatars.githubusercontent.com/u/3211589?v=3","gravatar_id":"","url":"https://api.github.com/users/nohe427","html_url":"https://github.com/nohe427","followers_url":"https://api.github.com/users/nohe427/followers","following_url":"https://api.github.com/users/nohe427/following{/other_user}","gists_url":"https://api.github.com/users/nohe427/gists{/gist_id}","starred_url":"https://api.github.com/users/nohe427/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohe427/subscriptions","organizations_url":"https://api.github.com/users/nohe427/orgs","repos_url":"https://api.github.com/users/nohe427/repos","events_url":"https://api.github.com/users/nohe427/events{/privacy}","received_events_url":"https://api.github.com/users/nohe427/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T15:50:08Z","updated_at":"2016-11-21T15:50:08Z","body":"Which script are you using?"}}
{"actor":{"display_login":"nohe427"}}