07-03-2024 00:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-03-2024 00:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Currently, the Search Food API seems to be randomly returning empty results for searches.
To reproduce: use the Web API explorer and set the query to something like "cheez" or "honey".
https://api.fitbit.com/1/foods/search.json?query=cheez
Try it a few times. The API will sometimes return results and sometimes an empty list.
07-08-2024 10:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-08-2024 10:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @jl__
I have tried reproducing this problem as you instructed by calling the endpoint about 10-15 times for "cheez" and "honey". Unfortunately, I have not been able to reproduce the problem. Are you able to still reproduce the problem today? If so, could you record the problem and send me the video?
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

07-08-2024 11:27 - edited 07-08-2024 11:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-08-2024 11:27 - edited 07-08-2024 11:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Gordon! I'm not able to reproduce the issue today (it was still having problems as recently as Sunday), so it seems like the problem has been resolved for now. Thanks for looking into it!

07-08-2024 13:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-08-2024 13:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you for confirming. If you see the problem again, please let us know. Unfortunately, due to the US holiday, I wasn't able to test it until today.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

07-08-2024 14:31 - edited 07-11-2024 21:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-08-2024 14:31 - edited 07-11-2024 21:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-12-2024 07:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-12-2024 07:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @jl__
Thank you for reporting the problem again. I am able to reproduce the problem, which I have recorded a video and will report to our engineering team. I will let you know what I find out.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

11-02-2024 13:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-02-2024 13:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey Gordon - any update on this? I am facing the same issue with the non-deterministic search food API. I am getting an empty array ~90% of the time when giving the same query parameter.

