{"action":"created","issue":{"url":"https://api.github.com/repos/jkeyes/python-intercom/issues/72","labels_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/72/comments","events_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/72/events","html_url":"https://github.com/jkeyes/python-intercom/issues/72","id":65459880,"number":72,"title":"UnboundLocalError: local variable 'body' referenced before assignment","user":{"login":"greenafrican","id":1160732,"avatar_url":"https://avatars.githubusercontent.com/u/1160732?v=3","gravatar_id":"","url":"https://api.github.com/users/greenafrican","html_url":"https://github.com/greenafrican","followers_url":"https://api.github.com/users/greenafrican/followers","following_url":"https://api.github.com/users/greenafrican/following{/other_user}","gists_url":"https://api.github.com/users/greenafrican/gists{/gist_id}","starred_url":"https://api.github.com/users/greenafrican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenafrican/subscriptions","organizations_url":"https://api.github.com/users/greenafrican/orgs","repos_url":"https://api.github.com/users/greenafrican/repos","events_url":"https://api.github.com/users/greenafrican/events{/privacy}","received_events_url":"https://api.github.com/users/greenafrican/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jkeyes/python-intercom/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jkeyes","id":64932,"avatar_url":"https://avatars.githubusercontent.com/u/64932?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeyes","html_url":"https://github.com/jkeyes","followers_url":"https://api.github.com/users/jkeyes/followers","following_url":"https://api.github.com/users/jkeyes/following{/other_user}","gists_url":"https://api.github.com/users/jkeyes/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeyes/subscriptions","organizations_url":"https://api.github.com/users/jkeyes/orgs","repos_url":"https://api.github.com/users/jkeyes/repos","events_url":"https://api.github.com/users/jkeyes/events{/privacy}","received_events_url":"https://api.github.com/users/jkeyes/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-03-31T14:06:15Z","updated_at":"2015-03-31T22:37:07Z","closed_at":null,"body":"Getting the below error when trying:\r\n```\r\nfrom intercom import User as User\r\nfrom intercom import Intercom\r\n\r\nIntercom.app_id = 'xxx'\r\nIntercom.app_api_key = 'xxx'\r\n\r\nuser = User.create(email='me@example.com')\r\n```\r\n\r\nError:\r\n```\r\n~/.../app/lib/python2.7/site-packages/intercom/request.pyc in parse_body(cls, resp)\r\n     46         except ValueError:\r\n     47             cls.raise_errors_on_failure(resp)\r\n---> 48         if body.get('type') == 'error.list':\r\n     49             cls.raise_application_errors_on_failure(body, resp.status_code)\r\n     50         return body\r\n\r\nUnboundLocalError: local variable 'body' referenced before assignment\r\n```"},"comment":{"url":"https://api.github.com/repos/jkeyes/python-intercom/issues/comments/88273380","html_url":"https://github.com/jkeyes/python-intercom/issues/72#issuecomment-88273380","issue_url":"https://api.github.com/repos/jkeyes/python-intercom/issues/72","id":88273380,"user":{"login":"jkeyes","id":64932,"avatar_url":"https://avatars.githubusercontent.com/u/64932?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeyes","html_url":"https://github.com/jkeyes","followers_url":"https://api.github.com/users/jkeyes/followers","following_url":"https://api.github.com/users/jkeyes/following{/other_user}","gists_url":"https://api.github.com/users/jkeyes/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeyes/subscriptions","organizations_url":"https://api.github.com/users/jkeyes/orgs","repos_url":"https://api.github.com/users/jkeyes/repos","events_url":"https://api.github.com/users/jkeyes/events{/privacy}","received_events_url":"https://api.github.com/users/jkeyes/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T22:37:07Z","updated_at":"2015-03-31T22:37:07Z","body":"Thanks @grantmcconnaughey."}}