I'm getting an error message using the example code:
Traceback (most recent call last):
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1994, in __call__
return self.wsgi_app(environ, start_response)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/alexander/anaconda3/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/alexander/Documents/Programming/QBTest/app.py", line 41, in access_qb
client.get_access_tokens(request.args['oauth_verifier'])
File "/home/alexander/anaconda3/lib/python3.5/site-packages/quickbooks/client.py", line 202, in get_access_tokens
data={'oauth_verifier': oauth_verifier})
File "/home/alexander/anaconda3/lib/python3.5/site-packages/rauth/service.py", line 359, in get_auth_session
**kwargs)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/rauth/service.py", line 332, in get_access_token
process_token_request(r, decoder, key_token, key_token_secret)
File "/home/alexander/anaconda3/lib/python3.5/site-packages/rauth/service.py", line 24, in process_token_request
raise KeyError(PROCESS_TOKEN_ERROR.format(key=bad_key, raw=r.content))
KeyError: "Decoder failed to handle oauth_token with data as returned by provider. A different decoder may be needed. Provider returned: b'oauth_problem=parameter_absent&oauth_parameters_absent=oauth_token'"
I'm getting an error message using the example code:
The code I am using is below (I'm using Flask):