{"action":"opened","issue":{"url":"https://api.github.com/repos/nateyolles/slack-pokerbot/issues/1","repository_url":"https://api.github.com/repos/nateyolles/slack-pokerbot","labels_url":"https://api.github.com/repos/nateyolles/slack-pokerbot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nateyolles/slack-pokerbot/issues/1/comments","events_url":"https://api.github.com/repos/nateyolles/slack-pokerbot/issues/1/events","html_url":"https://github.com/nateyolles/slack-pokerbot/issues/1","id":195605438,"number":1,"title":"integration mapping in API Gateway","user":{"login":"danhanley","id":142203,"avatar_url":"https://avatars.githubusercontent.com/u/142203?v=3","gravatar_id":"","url":"https://api.github.com/users/danhanley","html_url":"https://github.com/danhanley","followers_url":"https://api.github.com/users/danhanley/followers","following_url":"https://api.github.com/users/danhanley/following{/other_user}","gists_url":"https://api.github.com/users/danhanley/gists{/gist_id}","starred_url":"https://api.github.com/users/danhanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhanley/subscriptions","organizations_url":"https://api.github.com/users/danhanley/orgs","repos_url":"https://api.github.com/users/danhanley/repos","events_url":"https://api.github.com/users/danhanley/events{/privacy}","received_events_url":"https://api.github.com/users/danhanley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-14T18:14:28Z","updated_at":"2016-12-14T18:14:28Z","closed_at":null,"body":"I'm getting the follow response in Slack from the Lambda function:\r\n\r\n\r\nPokerBot BOT [5:15 PM] Only visible to you\r\n{\"message\": \"Could not parse request body into json: Unrecognized token \\'token\\': was expecting \\'null\\', \\'true\\', \\'false\\' or NaN\\n at [Source: [B@238685e5; line: 1, column: 7]\"}\r\n\r\nMy guess is tat I have not configured the Integration Maping in the API Gateway correctly (in fact, I've left it on it's defaults).\r\n\r\nShould I be putting a mapping template in here?\r\n\r\nCheers\r\n\r\nDan"}}
{"actor":{"display_login":"danhanley"}}