02-18-2019 11:33
02-18-2019 11:33
Hi,
I am trying to get Fitbit data however when I try to run my code I get an invalid client error. The error I get is as follows:
I hope someone can help me figure out what might be wrong. I have checked the client_id and it is exactly same as present online on the dev.fitbit.com/apps page for my application.
Regards,
Saksham
Answered! Go to the Best Answer.
02-22-2019 06:34
02-22-2019 06:34
I've been looking around for a solution and I found this on the orcasgit github site.
https://github.com/orcasgit/python-fitbit/issues/103
Would you please review and see if it addresses your problem?
02-18-2019 11:35
02-19-2019 11:06
02-19-2019 11:06
Hi @goelx029,
Would you please provide me with the endpoint you're executing and the steps to reproduce this error message?
02-21-2019 11:57
02-21-2019 11:57
Hi Gordon,
I have been using the following repository: https://github.com/orcasgit/python-fitbit as the fitbit api for my self. For reproducing this error, I am not sure what exactly are the steps because I am using my own fitbit app client id and client secret to get my sleep data.
I hope this helps. If you need any more information I will be happy to provide you with it.
02-22-2019 06:34
02-22-2019 06:34
I've been looking around for a solution and I found this on the orcasgit github site.
https://github.com/orcasgit/python-fitbit/issues/103
Would you please review and see if it addresses your problem?
02-22-2019 19:50
02-22-2019 19:50
Hi Gordon,
Thanks for everything. Turns out I was able to solve my issue by using a different version of the oauthlib and requests-oauth libraries as mentioned in some of the issues in the git repo.
02-26-2019 10:57
02-26-2019 10:57
Thanks for the update. Another solution one of engineers discovered is to downgrade the version of the oauthlib library. The versions of the library that worked are `requests-oauthlib == 1.1.0` and `oauthlib == 2.1.0`
11-20-2019 22:32
11-20-2019 22:32
I have the same issue when I try to setup my Fitbit with the ENBD Fitness App.
What is the solution for this?
11-20-2019 22:40
11-20-2019 22:40
How to down grade ?
11-21-2019 17:01
11-21-2019 17:01
Hi @GvenkatG
The problem was related to the OAuth library. This library is not maintained by Fitbit. I'm assuming to downgrade the library version you would find an older version of the library and link it to your application.
Maybe someone else in the forums can provide more detailed information.