Hi Mark,
I'm having similar error:
I'm getting the authorization code, trading with the token code. Then, doing a get request with the token received before and getting the error below:
[{'$severity': 'error', '$dataCode': 'BadRequest', '$message': 'Authorization header has incorrect format', '$source': ''}]
def contact():
token_info = session.get('TOKEN_INFO')
r = requests.get(url_query_business, headers= {'Authorization': token_info})
data = r.json()
return render_template('Contact.html', data=data)
Any idea? I'm a little stuck here. Thanks