01-17-2023 01:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-17-2023 01:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Following the above guide I attempted to implement subscriptions but, I keep getting the following error:
Answered! Go to the Best Answer.
Accepted Solutions
01-31-2023 22:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-31-2023 22:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-19-2023 11:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-31-2023 05:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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!

01-31-2023 22:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-31-2023 22:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-02-2023 02:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That seems to be the solution, I must have missed that. Thank you so much for the support!

