09-06-2022 10:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-06-2022 10:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Answered! Go to the Best Answer.

- Labels:
-
Subscriptions API
Accepted Solutions
09-12-2022 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-12-2022 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Carebit
Thank you for providing the information. Before you create subscriptions, you need to have a subscriber configured for your application. When you create a subscription, you link it to a specific subscriber which receives the notifications.
See https://dev.fitbit.com/build/reference/web-api/developer-guide/using-subscriptions/#Subscribers
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-07-2022 11:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-07-2022 11:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Carebit
Is there an error message that accompanies the 400 Bad Request error? 400 is a generic error and the message will provide more information to the problem.
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-08-2022 08:05 - edited 09-08-2022 09:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-08-2022 08:05 - edited 09-08-2022 09:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Unfortunately it only returns 400 bad request from what I can tell. It made me think something was wrong in my request but everything seems to be in order so I am lost on how to move forward and get a subscription ID to return. We are testing on a user that is a brand new account with no Fitbit linked to them currently. Could that be the problem?
So far we get a good response from Fitbit to generate tokens and a user_id for the Fitbit user. When I plug in the access token and user_id received from Fitbit that I verified are the same ones that were given, it just returns a 400 Bad Request.

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



09-08-2022 11:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I will send you a private message to collect some information from you. Hopefully, this will help me figure out the problem.
Best,
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-12-2022 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-12-2022 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Carebit
Thank you for providing the information. Before you create subscriptions, you need to have a subscriber configured for your application. When you create a subscription, you link it to a specific subscriber which receives the notifications.
See https://dev.fitbit.com/build/reference/web-api/developer-guide/using-subscriptions/#Subscribers
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

