Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Previously working request for intraday recently stopped returning minute-level activity, hr, cals?

ANSWERED

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.

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

I checked older logs, this started happening Monday 7/9/2024 just before 5:00 AM MST

Best Answer
0 Votes

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.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

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.

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes
Not sure I want to try to merge a 10 year old branch. 🙂
Best Answer
0 Votes

@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.

Best Answer
0 Votes

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.

Best Answer
0 Votes