07-14-2024 21:36
07-14-2024 21:36
I've been using the Fitbit API for about 10 years using an early branch of a libary written by Aaron Coleman for Fitabase. I've been sending requests without the "detail-level" part of the URL and have been getting minute-level data in the responses. Within the last week or so I've been getting only the daily summary data for these requests. I haven't received any notification that our intraday privilege was revoked and the responses have a 200 status code. I tried to provide a detailed example from my logs but apparently having a yyyy-mm-dd date isn't allowed??? I've added that parameter and tested it and it works, but wanted to confirm that you've tightened up your URL checking. Please confirm.
Answered! Go to the Best Answer.
07-16-2024 08:32
07-16-2024 08:32
Hi @Kevin_H
I haven't heard that we are tightening up on applications using the incorrect syntax. As stated on https://www.fitbitstatus.com, we are performing maintenance on our services, so it is possible there were changes made that impacted your results. It is important to use the correct endpoint syntax so your application does not unexpectedly break. When you begin using the correct syntax and you get an error about not having permissions, it is likely your application does not have intraday enabled and you'll need to request access here.
07-14-2024 21:51 - edited 07-14-2024 21:52
07-14-2024 21:51 - edited 07-14-2024 21:52
I checked older logs, this started happening Monday 7/9/2024 just before 5:00 AM MST
07-16-2024 08:32
07-16-2024 08:32
Hi @Kevin_H
I haven't heard that we are tightening up on applications using the incorrect syntax. As stated on https://www.fitbitstatus.com, we are performing maintenance on our services, so it is possible there were changes made that impacted your results. It is important to use the correct endpoint syntax so your application does not unexpectedly break. When you begin using the correct syntax and you get an error about not having permissions, it is likely your application does not have intraday enabled and you'll need to request access here.
07-16-2024 11:48
07-16-2024 11:48
Hi @Kevin_H
I spoke with @aaroncoleman and he has updated the library with a fix to the endpoint. See https://github.com/aarondcoleman/Fitbit.NET/pull/329. If you find any other bugs with the library, just report them against the .NET library.
07-17-2024 11:30
07-17-2024 11:30
07-17-2024 12:14
07-17-2024 12:14
@Kevin_H you can just change that one URL template that the PR contains. It's a small tweak to the end of the URL.
07-18-2024 14:52
07-18-2024 14:52
That's what I ended up doing, thanks. I had already added it for the Intraday Heart Rate end point moons ago. I still owe you many beers, it's been rock solid.