Issue Fetching Nutritional Info via /foods.get – Getting Empty Results

74 views
Skip to first unread message

Wasiq Shoaib

unread,
Apr 13, 2025, 7:49:41 PMApr 13
to fatsecret Platform API

Hi everyone,

I’m integrating the FatSecret Platform API and running into an issue when calling the /foods.get endpoint using a valid food_id. The response is successful (HTTP 200), but the returned object is empty — no nutritional values or description included.

What I’ve checked:
  • ✅ The food_id is valid and exists in the search result from /foods.search

  • ✅ OAuth 1.0 signing is correct (other endpoints work fine)

  • ✅ Using the correct app credentials and sandbox is disabled

This happens intermittently — sometimes the same food_id returns data, other times it’s blank. I even tested it while casually checking out menu marugame udon for a calorie estimate, and it gave me nothing back 😅

Has anyone experienced similar inconsistencies with this endpoint?
Is there a known limit, cache issue, or fallback condition I should be aware of?

Appreciate any guidance — happy to share headers or full request payload if needed.

Thanks!

seba...@fatsecret.com

unread,
Apr 13, 2025, 7:52:37 PMApr 13
to fatsecret Platform API
Thanks for reaching out.
We are not aware of such behaviour and can't see any error logs.
Please reach out to our support team and specify your API key / ClientID and our team would be pleased to take a look

Reply all
Reply to author
Forward
Message has been deleted
0 new messages