{"action":"created","issue":{"url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/1","labels_url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/1/comments","events_url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/1/events","html_url":"https://github.com/germanrcuriel/slack-api-client/issues/1","id":103149112,"number":1,"title":"API requests returning large JSON strings return undefined.","user":{"login":"pixelrebel","id":6970087,"avatar_url":"https://avatars.githubusercontent.com/u/6970087?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelrebel","html_url":"https://github.com/pixelrebel","followers_url":"https://api.github.com/users/pixelrebel/followers","following_url":"https://api.github.com/users/pixelrebel/following{/other_user}","gists_url":"https://api.github.com/users/pixelrebel/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelrebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelrebel/subscriptions","organizations_url":"https://api.github.com/users/pixelrebel/orgs","repos_url":"https://api.github.com/users/pixelrebel/repos","events_url":"https://api.github.com/users/pixelrebel/events{/privacy}","received_events_url":"https://api.github.com/users/pixelrebel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-26T01:23:00Z","updated_at":"2015-08-28T03:58:15Z","closed_at":"2015-08-26T21:42:02Z","body":"In hubot, getting a lot of undefined errors for list calls:\r\n\r\nThis works!\r\n```\r\nslack.api.channels.list({}, function (err, res) {\r\n\tif (err) { throw err; }\r\n\tconsole.log(res);\r\n});\r\n```\r\nThis returns \"TypeError: object is not a function\"\r\n```\r\nslack.api.users.list({}, function (err, res) {\r\n\tif (err) { throw err; }\r\n\tconsole.log(res);\r\n});\r\n```\r\nThis returns \"TypeError: object is not a function\"\r\n```\r\nslack.api.im.list({}, function (err, res) {\r\n\tif (err) { throw err; }\r\n\tconsole.log(res);\r\n});\r\n```\r\nThis returns \"TypeError: Cannot read property 'list' of undefined\"\r\n```\r\nslack.api.files.list({}, function (err, res) {\r\n\tif (err) { throw err; }\r\n\tconsole.log(res);\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/comments/135625694","html_url":"https://github.com/germanrcuriel/slack-api-client/issues/1#issuecomment-135625694","issue_url":"https://api.github.com/repos/germanrcuriel/slack-api-client/issues/1","id":135625694,"user":{"login":"pixelrebel","id":6970087,"avatar_url":"https://avatars.githubusercontent.com/u/6970087?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelrebel","html_url":"https://github.com/pixelrebel","followers_url":"https://api.github.com/users/pixelrebel/followers","following_url":"https://api.github.com/users/pixelrebel/following{/other_user}","gists_url":"https://api.github.com/users/pixelrebel/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelrebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelrebel/subscriptions","organizations_url":"https://api.github.com/users/pixelrebel/orgs","repos_url":"https://api.github.com/users/pixelrebel/repos","events_url":"https://api.github.com/users/pixelrebel/events{/privacy}","received_events_url":"https://api.github.com/users/pixelrebel/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T03:58:15Z","updated_at":"2015-08-28T03:58:15Z","body":"Awesome, great work!"}}