Forum Posts

Resolved! Web API - Unable to create a Fitbit Subscription

I followed the instructions for Implementing the Subscription API. I have created a web service endpoint, configured a subscriber, and verified the subscriber, but I cannot get the final step of Creating a Subscription to work.I always receive the fo...

Resolved! Unable to delete subscription without access token

Hi,   Is there any way I can remove a subscription to my server without having a users access-token? I don't really see why I should need their permission to do this...   I've got a server with a few users registered.  One user has de-registered, but...

Production app losing data

We have had a lot of reports lately about our production app no longer syncing data for some of our users. As far as we can tell our development app is not affected, but we have been able to replicate on production as well. Based on our logs, we aren...

Http 403 error while calling /apiSubscriptions API

Hi Community, I am facing below error while calling subscription API. I have added subscribers endpoint in Application setting.URL : "https://api.fitbit.com/1/user/-/userRevokedAccess/apiSubscriptions/6462e07f.json"Reposens : {"errors": [{"errorType"...

Web-Api by Jogger
  • 218 Views
  • 2 replies
  • 0 votes

Receiving "historical" activity notifications

Hi, we have noticed that we used to receive "historical" notifications for activities. We have some users who have entries since 2012. We are wondering how that could happen, as we should only receive recent updates, at least that's how we understand...

Fitbit Authorize URL giving SSLException

We have a user with an active subscription to Fitbit. When we try to get login for that user we are getting the below error"I/O error on POST request for \"https://www.fitbit.com/oauth2/authorize\": Connection reset; nested exception is javax.net.ssl...

PranInfo by Recovery Runner
  • 590 Views
  • 2 replies
  • 0 votes

Unable to verify subscriber endpoints

Following the instructions here: https://dev.fitbit.com/build/reference/web-api/developer-guide/using-subscriptions/#Configuring-a-Subscriber I created an endpoint to service the Fitbit subscriptions and created the logic to return the correct status...

Resolved! Capture Steps Without An Activity

The log list endpoint seems to only capture steps that are grouped into an 'activity,' but when a user wears their device all day, it captures steps that are not part of an 'activity.' What is the best way to capture these steps? I don't wish to bias...

Fitbit Subscription Notification Frequency Issue

Hello, we are noticing some of the subscriptions notifications we are getting are causing race conditions in our system due to the speed and frequency of the notifications. In the example below taken from our logging we received two separate subscrip...

Resolved! afterDate in Get Activity Log List call

After experimentation, I've discovered a few issues with the afterDate parameter in the Get Activity Log List call (https://dev.fitbit.com/build/reference/web-api/activity/get-activity-log-list/).The main issue is that afterDate is used to compare ag...

Resolved! Not receiving Subscription Notifications

I'm trying to adapt an existing application to make use of the subscriptions API. After quite a bit of experiementation, I was yesterday able to get it to validate the subscriber.Today I've tried synicing a device.  I don't seem to have received a no...

Resolved! No cardioscore (VO2 max) and ECG in authorization?

 Hello, I'm testing my app and I'm pretty sure there's supposed to be a ECG and a cardioscore (VO2) box to tick. Cause when send a HTTP request for those fields, it responds with"This application does not have permission to READ ELECTROCARDIOGRAM dat...

aaaaaaaa.PNG

Resolved! Fitbit /activity/steps not returning Full data

I'm having an issue where if I have a Fitbit device with steps already on it, and then I connect the Fitbit to a new Fitbit account, when I make my API call starting from midnight, my API call is only returning the number of steps taken since the acc...

Remove subscriptions

Hi all, We have a couple of users who use our platform infrequently and haven't been seen for a while but we are still getting subscription notifications about their activities. However, their access tokens expired and for some reason their refresh t...

krml by Recovery Runner
  • 365 Views
  • 5 replies
  • 0 votes

userRevokedAccess - is this global or for each user

2 related questions:  1. Does my App have to create a userRevokedAccess subscription for each user? It seems to me if an App wants this they would want for all users, so it would make sense to make this a global subscription? 2. Do I subscribe to use...

eglobal by Jogger
  • 272 Views
  • 1 replies
  • 0 votes

Resolved! Please tell me about "Web API Sleep"

Nice to meet you.My name is HIRO. Please tell me about "Web API Sleep" When I get the API sleep it doesn't contain the 'summary' of the 'type steges'. Please tell me if you know why.The API date for the attached image is September 22, 2021. I am usin...

Hirokazu by Recovery Runner
  • 728 Views
  • 8 replies
  • 4 votes

Resolved! Empty array despite 200 OK code

I got the correct OAuth2.0 access token and everything, but when I sent an API request it returned an empty array like this. I tried it with other data and it returned the same empty array as well. Does anyone know what the issue is?

Capture - Copy.PNG

Subscriber endpoint getting disabled

Hi, Over the past few days, we have noticed that the subscriber endpoint of our registered application is getting disabled automatically on your portal and after that, we do not receive notifications.We manually enable the endpoint every time when we...

SPHAdmin by Recovery Runner
  • 319 Views
  • 1 replies
  • 0 votes

Resolved! Adding a subscriber to the developer account

* I originally posted this in the SDK section but meant to post it here. Couldn't figure out how to delete the post. A few others and myself have recently inherited an application that uses the Fitbit to access information about a user that has given...

Carebit by Jogger
  • 425 Views
  • 4 replies
  • 0 votes

Increased 503 errors

Hi, Since roughly 2022/08/28 we are receiving a very high number of 503 errors on steps and minutesSedentary calls to api.fitbit.com as well as some of the token refresh calls. Are there any known issues? as I can't see anything listed on the inciden...

imlUser by Jogger
  • 270 Views
  • 2 replies
  • 0 votes

Unable to unsubscribe from subscription webhooks

The current Web API's Delete Subscription endpoint requires a valid access token (or refresh token that can be used to get an access token).  However, we have thousands of users who have deleted our app, leaving us with no way to refresh their expire...

Revoked Access Tokens

Hi Fitbit Team. A followup from https://community.fitbit.com/t5/Web-API-Development/Refresh-Token-Invalid/m-p/5155647 In the cases where user's Fitbit tokens were revoked by Fitbit due to suspicious activity, should we have received a "Revoked Access...

Resolved! Subscriber Failing on new Server

I recently switched my server to a DigitalOcean droplet and now my subscriber won't verify. It works as expected when I test it from my home computer, but fitbit won't verify it. Is there a way to see the logs for my attempts?  It's odd, because my s...

Fitbit not posting notifications

Hi Team,I have one user who is having enabled subscription for activities scope. The user is logging activity using the Fitbit portal. If he logged activity using recommended activity from the browser the Fitbit is able to post notification for that ...

PranInfo by Recovery Runner
  • 853 Views
  • 7 replies
  • 2 votes

subscriber verification security

Hi,  Ref the documentation here - https://dev.fitbit.com/build/reference/web-api/developer-guide/using-subscriptions/#Verifying-a-Subscriber How can I add security when carrying out the initial verification. Our security measures will not accept API ...

Resolved! Subscription Notification - Water

Hi there.I have a subscriber endpoint set up with notifications coming in.I noticed if a user logs water in the app, I don't get any type of subscription notification. However, if a food is logged, a subscription (food) notification is sent, and upon...