librelist archives

« back to archive

flask_oauth OAuthException, OAuthException: Invalid response from

flask_oauth OAuthException, OAuthException: Invalid response from

From:
Btara Truhandarien
Date:
2014-01-28 @ 12:30
For some reason I am getting this exception when I used the flask_oauth
library, The weird thing is that it worked once but then never again. The
details of the TraceBack call is as follow (though I don't know what
exactly is the cause):


   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1836*, in __call__

   return self.wsgi_app(environ, start_response)

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1820*, in wsgi_app

   response = self.make_response(self.handle_exception(e))

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1403*, in handle_exception

   reraise(exc_type, exc_value, tb)

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1817*, in wsgi_app

   response = self.full_dispatch_request()

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1477*, in full_dispatch_request

   rv = self.handle_user_exception(e)

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1381*, in handle_user_exception

   reraise(exc_type, exc_value, tb)

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1475*, in full_dispatch_request

   rv = self.dispatch_request()

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask/app.py",
   line *1461*, in dispatch_request

   return self.view_functions[rule.endpoint](**req.view_args)

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask_oauth.py",
   line *427*, in decorated

   data = self.handle_oauth1_response()

   - File
   
"/home/btruhand/Documents/PythonScripts/GrowMint/flask_intersection/lib/python2.7/site-packages/flask_oauth.py",
   line *379*, in handle_oauth1_response

   type='invalid_response', data=data)