{"action":"created","issue":{"url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/38","repository_url":"https://api.github.com/repos/stripe-contrib/pagerbot","labels_url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/38/comments","events_url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/38/events","html_url":"https://github.com/stripe-contrib/pagerbot/issues/38","id":169159336,"number":38,"title":"Not pulling down users or schedules","user":{"login":"matwithonet1","id":19390621,"avatar_url":"https://avatars.githubusercontent.com/u/19390621?v=3","gravatar_id":"","url":"https://api.github.com/users/matwithonet1","html_url":"https://github.com/matwithonet1","followers_url":"https://api.github.com/users/matwithonet1/followers","following_url":"https://api.github.com/users/matwithonet1/following{/other_user}","gists_url":"https://api.github.com/users/matwithonet1/gists{/gist_id}","starred_url":"https://api.github.com/users/matwithonet1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matwithonet1/subscriptions","organizations_url":"https://api.github.com/users/matwithonet1/orgs","repos_url":"https://api.github.com/users/matwithonet1/repos","events_url":"https://api.github.com/users/matwithonet1/events{/privacy}","received_events_url":"https://api.github.com/users/matwithonet1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-03T15:22:04Z","updated_at":"2017-01-06T04:34:50Z","closed_at":null,"body":"When I added my full access v2 pagerduty key, the admin console said that it was connected to pagerduty but when I start up pagerbot, it never gets any users or schedules. I have tried many ideas to figure this out but I am stuck. Any help would be greatly appreciated!\n\nFor a little more context, this is in the logs when I deploy the app:\n\n:users=>[], :schedules=>[]\n\nWhen I run the curl command from the PagerDuty api, I get a list of all users and schedules, so I know the key is working. Also, after throwing some debugging messages in, I am seeing expected payloads coming back from PagerDuty.\n\nUpdate: While trying to figure this out, I remembered that my admin console was acting kind of wonky. The user and schedule alias sections won't open. I get a 500 back when I try to click on them. \n\nI just found that the Total attribute, in the payload coming back from PagerDuty, is null.\n"},"comment":{"url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/comments/270829420","html_url":"https://github.com/stripe-contrib/pagerbot/issues/38#issuecomment-270829420","issue_url":"https://api.github.com/repos/stripe-contrib/pagerbot/issues/38","id":270829420,"user":{"login":"amalakar","id":65202,"avatar_url":"https://avatars.githubusercontent.com/u/65202?v=3","gravatar_id":"","url":"https://api.github.com/users/amalakar","html_url":"https://github.com/amalakar","followers_url":"https://api.github.com/users/amalakar/followers","following_url":"https://api.github.com/users/amalakar/following{/other_user}","gists_url":"https://api.github.com/users/amalakar/gists{/gist_id}","starred_url":"https://api.github.com/users/amalakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amalakar/subscriptions","organizations_url":"https://api.github.com/users/amalakar/orgs","repos_url":"https://api.github.com/users/amalakar/repos","events_url":"https://api.github.com/users/amalakar/events{/privacy}","received_events_url":"https://api.github.com/users/amalakar/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T04:34:50Z","updated_at":"2017-01-06T04:34:50Z","body":"https://github.com/stripe-contrib/pagerbot/pull/45 fixes v2 style api response parsing."}}
{"actor":{"display_login":"amalakar"}}