image recognition error

71 views
Skip to first unread message

Ali Taufan

unread,
Feb 27, 2025, 5:01:42 AM2/27/25
to fatsecret Platform API
I am encountering an error when trying to use the FatSecret API for image recognition. The error message indicates that the required scope `image-recognition` is missing. 

Error message :
INFO:root:scan_food response: {'error': {'code': '14', 'message': "Missing scope: scope 'image-recognition'"}}
INFO:     103.19.180.10:1571 - "POST /scan HTTP/1.1" 200 OK

Source Code : https://github.com/taufanAli65/Foodiary-API
Screenshot 2025-02-27 132650.png

seba...@fatsecret.com

unread,
Feb 27, 2025, 5:02:29 AM2/27/25
to fatsecret Platform API
Hi Ali,
Thanks for reaching out. This feature is an optional add-on and billed per usage. Please contact our API team to get a quote and trial access:
Reply all
Reply to author
Forward
0 new messages