You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not actually random. The JSON is a bit confusing, because the order of properties seems to be randomized every time, but when you use the XML version, you see that it's always the same "product" - even for different alphanumeric product codes:
I think the main issue with "random" working is, that a product without a code exists in the products directory. There's probably a .sto file without an actual name of the file there. The reason why https://world.openfoodfacts.org/api/v1/product/2asdasdkjk.xml is found in normalize_code:
https://world.openfoodfacts.org/api/v0/product/random.json
The text was updated successfully, but these errors were encountered: