Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This page isn’t working. 127.0.0.1 is currently unable to handle this request. HTTP ERROR 500

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 Answer
0 Votes
3 REPLIES 3

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!

Best Answer
0 Votes

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 Answer
0 Votes

@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
0 Votes