05-01-2019 14:01
05-01-2019 14:01
Okay, so here's the deal. I login into API successfully with Python, but I can't fetch data cause it says
{"errors":[{"errorType":"system","fieldName":"n/a","message":"Authorization Error: Invalid authorization token type"}],"success":false}'
05-06-2019 11:09
05-06-2019 11:09
Hi @Bussung
That error message typically occurs when you are trying to query a Fitbit user's data and this user has not authorized your application, or you're trying to query an endpoint the user didn't authorize with your application.
Would you please have a user go through your OAuth flow and grant consent to share their data with your application? A demonstration of this process can be found in dev.fitbit.com by using the OAuth 2.0 tutorial tool