{"action":"opened","issue":{"url":"https://api.github.com/repos/ThreeSixtyGiving/data-conversion/issues/14","labels_url":"https://api.github.com/repos/ThreeSixtyGiving/data-conversion/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ThreeSixtyGiving/data-conversion/issues/14/comments","events_url":"https://api.github.com/repos/ThreeSixtyGiving/data-conversion/issues/14/events","html_url":"https://github.com/ThreeSixtyGiving/data-conversion/issues/14","id":115041400,"number":14,"title":"dkan_calls.py seems to be broken","user":{"login":"caprenter","id":185467,"avatar_url":"https://avatars.githubusercontent.com/u/185467?v=3","gravatar_id":"","url":"https://api.github.com/users/caprenter","html_url":"https://github.com/caprenter","followers_url":"https://api.github.com/users/caprenter/followers","following_url":"https://api.github.com/users/caprenter/following{/other_user}","gists_url":"https://api.github.com/users/caprenter/gists{/gist_id}","starred_url":"https://api.github.com/users/caprenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caprenter/subscriptions","organizations_url":"https://api.github.com/users/caprenter/orgs","repos_url":"https://api.github.com/users/caprenter/repos","events_url":"https://api.github.com/users/caprenter/events{/privacy}","received_events_url":"https://api.github.com/users/caprenter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T12:24:04Z","updated_at":"2015-11-04T12:24:04Z","closed_at":null,"body":"https://github.com/ThreeSixtyGiving/data-conversion/blob/master/scripts/dkan_calls.py\r\n\r\nIs returning 404 errors.\r\n\r\nI think https://github.com/ThreeSixtyGiving/data-conversion/blob/master/scripts/dkan_calls.py#L45 is wrong and should be \r\n\r\n`url = base_url + \"group_package_show?id=\" + result`\r\n\r\nbut I can't see why that should be failing now, and not before?\r\n\r\nHowever if I do make that change I then get errors:\r\n  File \"dkan_calls.py\", line 52, in <module>\r\n    for resource in data_package['result']['resources']:\r\nTypeError: list indices must be integers, not str\r\n\r\n\r\nI'm just stuck!\r\n"}}