08-20-2024 11:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-20-2024 11:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi everyone,
Today when I tried to collect the data with Fitbit API, I got this error for some accounts:
HTTPSConnectionPool(host='api.fitbit.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe16eef4908>: Failed to establish a new connection: [Errno -2] Name or service not known',))
However, some accounts are normal. Do you guys know if this is a Fitbit server issue or my issue?
Best,
YZ
08-20-2024 14:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-20-2024 14:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @yuhang
I can try to investigate this problem for you. What endpoints were you calling when the error occurred?
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

08-21-2024 09:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-21-2024 09:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @yuhang
I checked our logs for the past 2 days and do not see this error message appear. Are you still seeing this error?
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

08-21-2024 09:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-21-2024 09:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Gordon,
I checked today's log and no error anymore. Thank you so much!
Best,
YZ

