{"action":"created","issue":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/12","repository_url":"https://api.github.com/repos/sammachin/AlexaPi","labels_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/12/comments","events_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/12/events","html_url":"https://github.com/sammachin/AlexaPi/issues/12","id":135178787,"number":12,"title":"500 error on /code?","user":{"login":"elvisthedj","id":276276,"avatar_url":"https://avatars.githubusercontent.com/u/276276?v=3","gravatar_id":"","url":"https://api.github.com/users/elvisthedj","html_url":"https://github.com/elvisthedj","followers_url":"https://api.github.com/users/elvisthedj/followers","following_url":"https://api.github.com/users/elvisthedj/following{/other_user}","gists_url":"https://api.github.com/users/elvisthedj/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisthedj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisthedj/subscriptions","organizations_url":"https://api.github.com/users/elvisthedj/orgs","repos_url":"https://api.github.com/users/elvisthedj/repos","events_url":"https://api.github.com/users/elvisthedj/events{/privacy}","received_events_url":"https://api.github.com/users/elvisthedj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-21T08:35:11Z","updated_at":"2016-04-05T08:10:41Z","closed_at":null,"body":"I go to serverip:5000 and get redirected to Amazon login. I enter credentials and am then taken to the \"click Okay\" screen. Amazon then gives me this error:\r\n\r\nWe're sorry!\r\nAn error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.\r\n\r\nI've waited, restarted browser, computer, pi, etc...same error.\r\n\r\nI tried going to serverip:5000/code and when I do I get a 500 error:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py\", line 670, in respond\r\n    response.body = self.handler()\r\n  File \"/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py\", line 217, in __call__\r\n    self.body = self.oldhandler(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py\", line 60, in __call__\r\n    return self.callable(*self.args, **self.kwargs)\r\n  File \"./auth_web.py\", line 29, in code\r\n    code = urllib.quote(cherrypy.request.params['code'])\r\nKeyError: 'code'\r\n\r\nNot sure if that is why Amazon can't do it's thing, so I thought I would ask to see if that is normal behavior.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sammachin/AlexaPi/issues/comments/205714462","html_url":"https://github.com/sammachin/AlexaPi/issues/12#issuecomment-205714462","issue_url":"https://api.github.com/repos/sammachin/AlexaPi/issues/12","id":205714462,"user":{"login":"thesingingmoose","id":18251215,"avatar_url":"https://avatars.githubusercontent.com/u/18251215?v=3","gravatar_id":"","url":"https://api.github.com/users/thesingingmoose","html_url":"https://github.com/thesingingmoose","followers_url":"https://api.github.com/users/thesingingmoose/followers","following_url":"https://api.github.com/users/thesingingmoose/following{/other_user}","gists_url":"https://api.github.com/users/thesingingmoose/gists{/gist_id}","starred_url":"https://api.github.com/users/thesingingmoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesingingmoose/subscriptions","organizations_url":"https://api.github.com/users/thesingingmoose/orgs","repos_url":"https://api.github.com/users/thesingingmoose/repos","events_url":"https://api.github.com/users/thesingingmoose/events{/privacy}","received_events_url":"https://api.github.com/users/thesingingmoose/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T08:10:41Z","updated_at":"2016-04-05T08:10:41Z","body":"Did you find a solution to this? I am having the exact same problem"}}