07-03-2024 00:13
07-03-2024 00:13
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
07-08-2024 10:45
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?
07-08-2024 11:27 - edited 07-08-2024 11:28
07-08-2024 11:27 - edited 07-08-2024 11:28
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
07-08-2024 13:17
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.
07-08-2024 14:31 - edited 07-11-2024 21:34
07-08-2024 14:31 - edited 07-11-2024 21:34
07-12-2024 07:50
07-12-2024 07:50
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.
11-02-2024 13:42
11-02-2024 13:42
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.