Forum Posts

AZM intraday - internal server error

Hello,I'm working on an app that fetch data on intraday endpoints. All of them works except the active-zone-minutes endpoint.My app is set to personal. Here is the url I use: https://api.fitbit.com/1/user/-/activities/active-zone-minutes/date/mydate/...

Can't get spo2 but can get intraday heart rate

Hi All - I'm trying and failing to get oxygen saturation data through the web API.I have authorized the oxygen_saturation scope (see screenshot below).The app is designated as "Personal".A request for heart rate data works fine. The URL looks like......

permissions.PNG
mmcc73 by Recovery Runner
  • 1271 Views
  • 11 replies
  • 1 votes

Resolved! Receiving error 503: service unavailable

Receiving error 503: service unavailable while accessing the web api. Its my first time getting this error and I suppose its on the web api side. Is that correct? I am building a thesis application relying entirely on fitbit data and I am concerned. ...

Resolved! EER Formulae

With my apologies, John... I'm trying to use the EER formulae here (in a Wear OS app). I question the "1.0 x" multipliers on these grounds:Multiplying anything by 1.0 doesn't make any difference and implies that those factors are placeholders for the...

Gondwana by Veteran Runner
  • 386 Views
  • 4 replies
  • 1 votes

Missing Heart Rate data from Activity Summary

We're seeing missing data for heart rate zones when using the Activity Summary Web API. This is happening for people with whom we previously were able to get the heart rate zone data. I've double checked the scopes and they have the correct permissio...

dbe5007 by Recovery Runner
  • 389 Views
  • 5 replies
  • 0 votes

Search Food API sometimes returning empty results

Currently, the Search Food API seems to be randomly returning empty results for searches.To reproduce: use the Web API explorer and set the query to something like "cheez" or "honey".https://api.fitbit.com/1/foods/search.json?query=cheezTry it a few ...

jl__ by Base Runner
  • 402 Views
  • 6 replies
  • 0 votes

Resolved! AZM

I'm trying to access AZM data from the Web API, but I receive a 403 Permission denied Response:  {'error': {'code': 403, 'message': 'The caller does not have permission', 'status': 'PERMISSION_DENIED'}}  The App Scope is personal and the scope "a...

active-zone-minutes endpoint throwing error

Hi all, I am making a request to the `active-zone-minutes` endpoint (`https://api.fitbit.com/1/user/-/activities/active-zone-minutes/date/[todaysdate]/1d/1min.json`) and I'm getting the following error: `{"errors":[{"errorType":"system","fieldName":"...

uhhdev by Jogger
  • 334 Views
  • 3 replies
  • 0 votes

Can I upload data to Fitbit using Fitbit API?

Hi!I am interested in uploading data to Fitbit: breathing rate and heart rate, in specific. Is there any option to do a post request to upload from my computer to Fitbit that data?I have seen in the documentation that I can do get of the heart rate, ...

oscaret by Jogger
  • 138 Views
  • 1 replies
  • 0 votes

endpoint disabled automatically?

Hi there,The last week we've had several instances where our application endpoint got disabled.There's no reported issue at the Fitbit Status Dashboard https://status.fitbit.com/Lots of SocketExceptions in the stats. Not sure if that's the cause or r...

Len3 by Jogger
  • 155 Views
  • 2 replies
  • 0 votes

Missing CORS response header for activity APIs

I've had users report errors that started happening this morning (Sep 1). Based on the browser console screenshots they provided, some of the API responses are missing CORS headers (specifically, access-control-allow-origin). This completely breaks f...

missing-cors.png
jl__ by Base Runner
  • 669 Views
  • 6 replies
  • 6 votes

Backfilling data after web API incident

Hello,I work for a software team that utilizes the Fitbit web API to track step counts, activity, etc. for research participants and clinical programs.We recently learned of a Fitbit web api incident between August 30 and September 19 that resulted i...

activity log tcxLink returns 404 Not found

Since a few days we notice 404 errors when we query the tcxLink URL of an activity log entry 404 Not Found: "validation - logId - Invalid activity log id: 9010629920176651392"Does this just mean, that the activity does not have a TCX file? If I remem...

mle23 by Recovery Runner
  • 185 Views
  • 3 replies
  • 0 votes

Request failed: bad gateway (502)

Hi,On 9/1 our users were experiencing bad gateway errors using the https://api.fitbit.com/1/user/-/activities endpoint. Multiple users have been experiencing this issue for couple months now. How do we resolve this issue? It continues to happen. I po...

bickster by Base Runner
  • 258 Views
  • 4 replies
  • 0 votes

Incosistent data in app and web API responses

Hi, when checking the Fitbit app it returns day values as can be seen in the screenshots. However, all the bars are empty and the web API also returns 0 as result for this day. This phone is not allowed to sync step data from the phone itself so I'm ...

IMG_0085.png IMG_0086.png

How to get only exercise data from the web api

Hi,Thanks for creating the a very nice API all around for the web.I seem to be running in an issue though, and I'm not sure if I'm understanding the API correctly.I want to get only the exercise data from the API. I think the only possible way to get...

Google Fitbit Web API Alternatives

I'm using the Google Fit Web API to collect step and move minute data. My users connect to Google Fit using a variety of activity trackers.Now that it is being depreciated, what are some good alternatives for me moving forward?

Bigtime by Recovery Runner
  • 179 Views
  • 2 replies
  • 0 votes

API 443 Error

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.connec...

yuhang by Recovery Runner
  • 241 Views
  • 3 replies
  • 0 votes

average heart rate missing in treadmill activity log

when fetching activity logs using /1/user/-/activities/list.json the walk activity has averageHeartRate attribute in the response but Treadmill activity does not have averageHeartrate or any bpm related fields. Why ? and How to get the avgHeartRate f...

sanmitha by Recovery Runner
  • 229 Views
  • 2 replies
  • 0 votes

Webhook Service Disruption Inquiry

During the periods from July 23, 2024, 00:00:00 to July 24, 2024, 00:00:00 and from July 25, 2024, 00:00:00 to July 26, 2024, 00:00:00, We did not receive any webhooks. Were there any outages or maintenance activities during these times?

hsawaji by Jogger
  • 189 Views
  • 1 replies
  • 0 votes

Resolved! 404 Errors from Web API

My application started receiving 404s when requesting data from the Fitbit Web API starting on July 18th and continuing until now. There have been no recent updates to our code, and these our the first Fitbit API errors we've logged in many years.Her...

smashrun by Recovery Runner
  • 235 Views
  • 2 replies
  • 0 votes