01-17-2023 01:18
01-17-2023 01:18
Following the above guide I attempted to implement subscriptions but, I keep getting the following error:
Answered! Go to the Best Answer.
01-31-2023 22:13
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-31-2023 22:13
@WeFitterTech Thanks for confirming that information.
Your request appears to be missing the content-length header and this is required as per the documentation. Can you confirm you're including the size of the payload body?
01-19-2023 11:46
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-19-2023 11:46
Sorry to hear that you're encountering this error.
Can you post your full HTTP message that you're requesting here? I need to see the endpoint, headers, and body of your request. I also want to know the error status code you're receiving. Please also PM me your Client ID (as it is sensitive).
Thanks!
01-31-2023 05:10
01-31-2023 05:10
The endpoint: https://api.fitbit.com/1/user/-/body/apiSubscriptions/B7JJT6-body.json
The header contains the Bearer token and the body is empty. I also sent the client ID in a PM.
Thanks for your reply!
Best Answer01-31-2023 22:13
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-31-2023 22:13
@WeFitterTech Thanks for confirming that information.
Your request appears to be missing the content-length header and this is required as per the documentation. Can you confirm you're including the size of the payload body?
02-02-2023 02:32
02-02-2023 02:32
That seems to be the solution, I must have missed that. Thank you so much for the support!
Best Answer