05-14-2020 10:12
05-14-2020 10:12
New here. Trying to build my first fitbit app in python following this tutorial:
https://www.kdnuggets.com/2020/02/using-fitbit-web-api-python.html
Using this module:
https://python-fitbit.readthedocs.io/en/latest/
getting this error:
127.0.0.1 is currently unable to handle this request. HTTP ERROR 500
How do I fix? Thanks.
Best Answer05-18-2020 06:13
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
05-18-2020 06:13
Hi @ryanshrott,
Welcome to the forums!
Could you please let me know where you are encountering the 500 error? is it during authorization? when you're pulling data?
Can you post the script of where you are running into the error as well as the following information:
Hope to hear from you soon!
Best Answer05-20-2020 09:09
05-20-2020 09:09
This may not be your error, but if you have other software that runs in a web server with the same address then it can stop the auth process. When I run my app on my friends pc I get a similar error and eventually worked out he was running a newsgroup downloader (SABNzb) which runs in a browser at 127.0.0.1. I quit that software and everything ran normally again.
Worth checking.
Best Answer05-21-2020 13:11
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
05-21-2020 13:11
@NickUK_1973 That's an interesting find, though I haven't come across the issue myself yet. Also, I use https://localhost for my test applications instead of 127.0.0.1, even though both are defined as localhost.
Best Answer