01-28-2025 21:50
01-28-2025 21:50
Hello,
I have a subscriber for app 23RD5Q. It suddenly stopped making requests on 1/13 even though all requests made were successful up until then. I deleted the original subscriber and verified a new one but there's still no requests being made.
Could this be looked into? Thanks
Answered! Go to the Best Answer.
Best Answer02-07-2025 08:00
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-07-2025 08:00
Ok. Try these steps to see if it works for you.
1. Call Get Subscription List endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/get-subscription-list/) for each user to see if an existing subscription.
2. If the user has a subscription, delete it using the Delete Subscription endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/delete-subscription/). You can use the Get Subscription List endpoint in step 1 to confirm the delete was successful.
3. Create a new subscription for each user using the Create Subscription endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/create-subscription/). This time, include the header X-Fitbit-Subscriber-Id and set it to your subscriber ID. I know the documentation states you don't need to specify the header and the default subscriber will be specified, but try it anyway to see if it helps.
Let me know what happens.
Best Answer01-29-2025 11:15
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-29-2025 11:15
Hi @Zoinksberg
We don't store log data back that far for me to investigate why it originally stopped. In our documentation, Disabled Subscribers, we explain the reason the subscribers get disabled and how to re-enable them. To my recollection, we didn't have an outage around that time. Since you deleted the subscriber and recreated it, I think you need to go through the process of recreating all of the subscriptions again. Have you tried that?
Best Answer02-01-2025 10:54
02-01-2025 10:54
I did do that and re-enabled it. My subscriber had 100% success rate and there were no reasons why it should have stopped.
I've added a new subscriber and verified it. Even with the new subscriber, no requests are being made.
Here you can see my new subscriber was verified on Jan. 29th (3 days ago)
Verified 3 days ago
Clicking into the details shows that no requests have since been made.
No requests being made despite being verified 3 days ago
Best Answer02-03-2025 08:16
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-03-2025 08:16
Hi @Zoinksberg
Have you created subscriptions for each of your users that point to the new subscriber?
Best Answer02-03-2025 20:37
02-03-2025 20:37
I have but I realize I'm getting a validation error for `subscriberId`. The documentation doesn't provide any details about this parameter. Here is the error:
{\"errors\":[{\"errorType\":\"validation\",\"fieldName\":\"subscriberId\",\"message\":\"Invalid parameter subscriberId: null\"}]}
Best Answer02-04-2025 10:28
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-04-2025 10:28
Would you provide the syntax you're using to create the subscriptions, including the headers?
Best Answer02-06-2025 18:10
02-06-2025 18:10
I'm making POST requests to:
- https://api.fitbit.com/1/user/-/sleep/apiSubscriptions/1-sleep.json
- https://api.fitbit.com/1/user/-/activities/apiSubscriptions/1-activities.json
The only header is the Authorization header with the Bearer token.
Best Answer02-07-2025 08:00
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-07-2025 08:00
Ok. Try these steps to see if it works for you.
1. Call Get Subscription List endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/get-subscription-list/) for each user to see if an existing subscription.
2. If the user has a subscription, delete it using the Delete Subscription endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/delete-subscription/). You can use the Get Subscription List endpoint in step 1 to confirm the delete was successful.
3. Create a new subscription for each user using the Create Subscription endpoint (https://dev.fitbit.com/build/reference/web-api/subscription/create-subscription/). This time, include the header X-Fitbit-Subscriber-Id and set it to your subscriber ID. I know the documentation states you don't need to specify the header and the default subscriber will be specified, but try it anyway to see if it helps.
Let me know what happens.
Best Answer02-08-2025 15:17
02-08-2025 15:17
Thank you! Including the `X-Fitbit-Subscriber-Id` fixed the issue.
Best Answer08-01-2025 03:15
08-01-2025 03:15
The subscriber stopped making requests they might have lost interest or are delaying sigpatches switch Follow up once, and if there's no respons
Best Answer