If you are creating a custom food, and you enter some of the data in the wrong format, you may receive an error message. Error messages can inform you that some key property is missing, or that some value has been entered in the wrong format.
In order to create a new food, you need to provide the following values:
- portion unit, label, and equivalent amount
All other values are optional.
The screenshot below summarizes which values are mandatory, and whether they should be entered as text or just plain numbers. Especially important is not to add the word "grams" or "kcal" when you enter protein, energy, carbs, or fat. The units are already encoded into the form, you just need to enter the number.