Open teolemon opened 3 years ago
Looks like this is not a bug of application, because in response we don't have product name and nutriments.
This is request from app
https://ssl-api.openfoodfacts.org/api/v0/product/3175681123014.json?fields=product_name%2Cgeneric_name%2Cimage_small_url%2Cimage_front_url%2Cimage_ingredients_url%2Cimage_nutrition_url%2Cimage_packaging_url%2Cimage_url%2Cselected_images%2Clanguages_codes%2Cvitamins_tags%2Cminerals_tags%2Camino_acids_tags%2Cother_nutritional_substances_tags%2Curl%2Ccode%2Ctraces_tags%2Cingredients_that_may_be_from_palm_oil_tags%2Cbrands_tags%2Ctraces%2Ccategories_tags%2Cingredients_text%2Cingredients_from_palm_oil_tags%2Cserving_size%2Callergens_tags%2Callergens%2Corigins%2Cstores%2Cnutrition_grade_fr%2Cnutrition_grades_tags%2Cnutrient_levels%2Cecoscore_grade%2Ccountries%2Ccountries_tags%2Cbrands%2Cpackaging%2Clabels_tags%2Clabels_hierarchy%2Ccities_tags%2Cquantity%2Cingredients_from_palm_oil_n%2Clink%2Cemb_codes_tags%2Cstates_tags%2Ccreator%2Ccreated_t%2Clast_modified_t%2Clast_modified_by%2Ceditors_tags%2Cnova_groups%2Clang%2Cpurchase_places%2Cnutrition_data_per%2Cno_nutrition_data%2Cother%2Cother_information%2Cconservation_conditions%2Crecycling_instructions_to_discard%2Crecycling_instructions_to_recycle%2Cwarning%2Ccustomer_service%2Cenvironment_infocard%2Cenvironment_impact_level_tags%2Cingredients_analysis_tags%2Cingredients%2Cproduct_name_en%2Cgeneric_name_en%2Cingredients_text_en%2Cother_information_en%2Cconservation_conditions_en%2Crecycling_instructions_to_discard_en%2Crecycling_instructions_to_recycle_en%2Cwarning_en%2Cattribute_groups_en%2Ccustomer_service_en%2Cimage_front_url_en%2Cimage_ingredients_url_en%2Cimage_nutrition_url_en%2Cimage_packaging_url_en
https://ssl-api.openfoodfacts.org/api/v0/product/3175681123014.json returns the French product_name
, even though the main language of the product is set to English, and that name is empty in revision 58.
https://ssl-api.openfoodfacts.org/api/v0/product/3175681123014.json?fields=product_name%2Cgeneric_name%2Cimage_small_url%2Cimage_front_url%2Cimage_ingredients_url%2Cimage_nutrition_url%2Cimage_packaging_url%2Cimage_url%2Cselected_images%2Clanguages_codes%2Cvitamins_tags%2Cminerals_tags%2Camino_acids_tags%2Cother_nutritional_substances_tags%2Curl%2Ccode%2Ctraces_tags%2Cingredients_that_may_be_from_palm_oil_tags%2Cbrands_tags%2Ctraces%2Ccategories_tags%2Cingredients_text%2Cingredients_from_palm_oil_tags%2Cserving_size%2Callergens_tags%2Callergens%2Corigins%2Cstores%2Cnutrition_grade_fr%2Cnutrition_grades_tags%2Cnutrient_levels%2Cecoscore_grade%2Ccountries%2Ccountries_tags%2Cbrands%2Cpackaging%2Clabels_tags%2Clabels_hierarchy%2Ccities_tags%2Cquantity%2Cingredients_from_palm_oil_n%2Clink%2Cemb_codes_tags%2Cstates_tags%2Ccreator%2Ccreated_t%2Clast_modified_t%2Clast_modified_by%2Ceditors_tags%2Cnova_groups%2Clang%2Cpurchase_places%2Cnutrition_data_per%2Cno_nutrition_data%2Cother%2Cother_information%2Cconservation_conditions%2Crecycling_instructions_to_discard%2Crecycling_instructions_to_recycle%2Cwarning%2Ccustomer_service%2Cenvironment_infocard%2Cenvironment_impact_level_tags%2Cingredients_analysis_tags%2Cingredients%2Cproduct_name_en%2Cgeneric_name_en%2Cingredients_text_en%2Cother_information_en%2Cconservation_conditions_en%2Crecycling_instructions_to_discard_en%2Crecycling_instructions_to_recycle_en%2Cwarning_en%2Cattribute_groups_en%2Ccustomer_service_en%2Cimage_front_url_en%2Cimage_ingredients_url_en%2Cimage_nutrition_url_en%2Cimage_packaging_url_en
Does not contain any product_name
. Could this bevahiour be caused by some kind of fallback that's applied in the first request, where the French product name is returned as the normal product name?
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts
There’s an issue with nutrient levels on 3175681123014 https://barcode.tec-it.com/en/EAN13?data=3175681123014 They don’t display at all on the summary tab. The nutrition table does not show either. It does show on the web: https://world.openfoodfacts.org/product/3175681123014/fourre-cacao-sans-sucres-gerble
Related: we also have a name for the product. It should not be unknown.