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:
We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.
I've waited, restarted browser, computer, pi, etc...same error.
I tried going to serverip:5000/code and when I do I get a 500 error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 60, in call
return self.callable(_self.args, *_self.kwargs)
File "./auth_web.py", line 29, in code
code = urllib.quote(cherrypy.request.params['code'])
KeyError: 'code'
Not 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.