Forum Posts

Resolved! Data from API call is different from Fitbit dashboard

We used python-fitbit by Orcas to obtain intraday step data and what we get is different from Fitbit dashboard. We have cases where we see zero steps for a particular date but the dashboard shows +3K steps. Or, dates where the total number of steps i...

einsian by Jogger
  • 921 Views
  • 2 replies
  • 0 votes

Alarm post request Error 500

I am new to the Fitbit API and am attempting to set an alarm through the API. Post requests to add and modify alarms both result in ERROR 500 codes. Even Swagger UI isn't able to execute the post requests. Any suggestions on what I can do?Also, here ...

adisoni by Jogger
  • 775 Views
  • 1 replies
  • 0 votes

Resolved! Strange API Response for Elevation Time Series

I get a strange response when I perform an API call on the Activity Time Series for Elevation EndPoint. I get the same response for the Activity Time Series Distance EndPoint. Details on Elevation below...  When making the call:https://api.fitbit.com...

Using invalidated access token results in HTTP 500 Error

This is a feedback rather than a question, as some may be confused by the HTTP response from the following scenario.I'm using multiple locally stored tokens for multiple users. When I authenticate and store access token for user A, and then refresh u...

kanth by Recovery Runner
  • 800 Views
  • 1 replies
  • 0 votes

How to update an activity via Web API?

Hello,I'm working for a client of mine on a sync app between Strava and Fitbit. This would need to update/delete information if in one place something has changed. Because of this, I would need to update the Activities information in Fitbit - eg. Nam...

Cosmin123 by Recovery Runner
  • 738 Views
  • 0 replies
  • 0 votes

Direct WIFI versa api access

I am working on an application that uses https calls to a 3rd party service however I wanted to know when the versa would call internetå resources (web apis) directly with the wifi connection vs bluetooth tether?   My goal is to be able to just use m...

Ril3y by Jogger
  • 852 Views
  • 1 replies
  • 0 votes

Fitbit error while receiving minutesLightlyActive

I am receiving this error when I try to connect a device to my website.request: An error occurred with the Fitbit Web API while processing the request. Error id: AC4441D2:3851_A92D91CB:01BB_5AE38821_28FF4DC1:3D68 EDIT: This is not related to Authenti...

Resolved! Can I still access my intra-day data on a Client App Type

I spent ages working on some functionality for a web app that needed intra-day data.My application for intra-day data was denied, but I'm cool with that.I'm just wondering, though - if I have a Client Type application, would I be able to access my in...

impo by Recovery Runner
  • 820 Views
  • 2 replies
  • 0 votes

Resolved! ERROR while trying Get Sleep Logs by Date Range

Hi,I am currently trying to get the sleep data over a period of time, but it seems as the API isn't understanding my request, although it is written in exact the same way, as the documentation says:GET https://api.fitbit.com/1.2/user/[user-id]/sleep/...

Refresh Token Web API - Invalid Grant

I have a server based application that will cycle through registered users to do fitbit team competitions.  The refresh token call is failing with a 400. Here is the problem. I authorize the user. If i wait a few minutes and call the refresh token, i...

Error logging an activity

When I try to write a activity via web API, I get the following error: { "errors": [ { "errorType": "request", "fieldName": "n/a", "message": "Either \"activityId\" or \"activityName\" should be present...

One device, multiple services

Hi all! I need something validated from the rest of the community. So it appears to me as though you absolutely can not sync a single device to multiple api services due to the refresh_token. You're only allowed one valid refresh token and if you syn...

Terms of Service questions

Hi all. I've been directed here by FitBit Support to ask some questions about the Terms of Service of the web API. If a FitBit user creates an app (using the dev.fitbit.com website) can that app squirt their data to a 3rd party for analysis? If that ...

Creating activity with TCX data

Hey guys, firs I need to say that I recently bought a Fitbit Ionic I and I'm loving it !  Lately I have been practicing for triathlons and I would like to be able to track all three activities in one. As a software engineer, I see a problem, I try to...

Authenticating users using my Nodejs Web API

Hello there, I am trying to create a watchface that would have data coming from my custom API built on nodejs In order to do that, I need to authenticate the user. So I have written a companion app that has a button in the settings page that can redi...

srimagic by Recovery Runner
  • 978 Views
  • 3 replies
  • 0 votes

Resolved! Limit for requests per hour

Dear Forum,I am developing a server application that will have hundreds of users in the future.My situation:Since I am working with intraday time series data, I will have to make about 7 requests per page refresh.My question is the following:What is ...

Resolved! High traffic app being disabled

Hi Fitbit! We have a high traffic app that is getting disabled but can't seem to get more information about the issue. The metrics and status codes on our side look consistent over the past 30-90 days. Any help would be appreciated!

jlyke by Jogger
  • 938 Views
  • 2 replies
  • 0 votes

Resolved! Intra-day data zeroed out

My intraday data for calories and steps got flat-lined for the period of 2017/08/31 17:38 to 09/06 7:32. The steps/min got zeroed out and the calories/min is set to minimum (0.944/min). The daily total on the dashboard looks ok for those days though....

tkinsf by Base Runner
  • 1323 Views
  • 6 replies
  • 0 votes

Intraday Time Series Data - Sedentary Minutes

Hello, When requesting Intraday Time Series data for sedentary minutes /user/-/activities/minutesSedentary/date/2018-02-22/1m.json we noticed a discrepancy. For reference, here's the format of the data returned: { 'activities-minutesSedentary': [...

Resolved! Content-Type Header

I am having trouble retrieving token state using cURL in PHP.I am submitting headers:Authorization: Bearer <Access Token>Content-Type: application/x-www-form-urlencoded  The response is: "The [Content-Type: application/x-www-form-urlencoded] header i...

Hi rate of 503 errors all of the sudden.

No 503 errors today until 1:45:17 Central Time ... now a whole bunch of them.    A fair number of 504 errors, too, which are rare.  My DC folks traced out of building and our path is clean.  Does Fitbit know of any API communication problems on their...

jeaglemc by Base Runner
  • 755 Views
  • 0 replies
  • 0 votes

Web Server using API to get info blocked by firewall

hi there, While working on an app to access Fitbit data , we will be using our web server via API to collect info but we need to overcome the firewall . As far we know there are 2 API calls. fitbit.url.token=https://api.fitbit.com/oauth2/tokenfitbit....

WTS2017 by Jogger
  • 974 Views
  • 1 replies
  • 1 votes

Resolved! Device Sync Date/Time

Hey Guys, Quick question regarding the Device Sync date/time that is returned via https://api.fitbit.com/1/user/-/devices.json. Is this a local time to the user or is this a UTC / server time? Ive seen a few cases where the sync time is in the future...

Bonxy by Tempo Runner
  • 1225 Views
  • 4 replies
  • 0 votes