05-14-2020 10:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2020 10:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-18-2020 06:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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:
- The HTTP request being made (Need to see start line, headers, and body if a provided)
- Client ID
Hope to hear from you soon!

05-20-2020 09:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-20-2020 09:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-21-2020 13:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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.

