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.
05-18-2020 06:13
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!
05-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.
05-21-2020 13:11
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.