10-02-2024 12:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-02-2024 12:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have a daily script running for my application to synchronize my daily steps. It has been running multiple months and worked every day until a month ago.
When I created this script I checked the documentation here:
https://dev.fitbit.com/build/reference/web-api/activity/create-activity-log/
According to that link and the link below a successful POST to that and any other URL should return a 201 status code.
https://dev.fitbit.com/build/reference/web-api/troubleshooting-guide/error-messages/
But according to this documentation the response code should be 200:
https://dev.fitbit.com/build/reference/web-api/explore/#/Activity/addActivitiesLog
My code checks success based on response code 201 and the last day this worked was the 2nd September 2024.
When the script ran again the 3rd September 2024 my application reported a fail but the activity was uploaded to fitbit. After some more logging the response code had now been changed to 200 and my script did not like that.
Is there a changelog showing that this change was made?
Has anyone else had the same problem?
10-03-2024 12:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-03-2024 12:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi @XeroXer
Thank you for reporting this problem. The response code should be 201. Let me report this to engineering to get it fixed.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
