Data request from OpenFoodFacts

Hi,

Following the Tutorial on building a barcode scanner app. After configuring the data resource, each time I test the a barcode, it returns objects with only 3 properties which are not useful to me instead of the all the properties of that product from the openfoodfacts. Please how can I fix this.

from what i see, there is no product in the database, matching the barcode, maybe use another one.
Because even if the call was successful, that doesnt mean that the barcode exists.

Hi Dimos. Thanks. I figured it out. I missed a “/” just before "{barcode} in the relative path of the API url below;

https://world.openfoodfacts.org/api/v0/product/{barcode}.json

2 Likes