> For the complete documentation index, see [llms.txt](https://docs.foodcore.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.foodcore.io/recipes/missing-data.md).

# Why is my recipe "missing data"?

If a recipe shows a missing-data warning — a flag, a banner, or an amber indicator depending on your FoodCore version — it means the recipe's information isn't complete enough to produce an accurate allergen declaration or nutrition label. This is FoodCore's way of protecting you from printing a label that might be wrong.

The warning is always fixable. Here's what causes it and how to resolve each case.

## The three causes of missing data

### 1. The recipe has no ingredients

A recipe with no ingredients added is essentially empty. FoodCore can't calculate costs, derive allergen data, or produce a nutrition summary from nothing.

**Fix:** open the recipe, go to the **Ingredients** tab, and add your ingredients. See [Create a recipe](https://docs.foodcore.io/recipes/create-recipe.md) for a full walkthrough.

### 2. An ingredient has no allergen status set

This is the most common cause. If any ingredient used in the recipe has a blank allergen tab — not "none applicable", but genuinely unreviewed and blank — FoodCore can't confirm the recipe's allergen declaration is complete.

A blank allergen status is different from "none applicable". Blank means "we don't know yet". FoodCore treats this as incomplete data and flags the recipe accordingly.

**Fix:**

1. Open the recipe and look at the **Allergens** tab or the ingredient list for a warning indicator on the affected ingredient.
2. Click through to the flagged ingredient.
3. Open the **Allergens** tab on that ingredient.
4. Work through the 14 allergens and set each one as **Contains**, **May contain**, or leave unticked if it's genuinely not present.
5. If the ingredient has no allergen relevance at all (e.g. water, salt), tick **None applicable**.
6. **Save** the ingredient.
7. Return to the recipe and click **Recompute** to refresh the status.

See [Setting allergens on an ingredient](https://docs.foodcore.io/ingredients/allergens.md) for detailed guidance on contains vs. may contain.

### 3. An ingredient has no nutrition values

If you want to produce a nutrition label from a recipe, every ingredient needs nutrition values entered per 100g. If any ingredient is missing these values, the recipe can't produce a complete nutrition table.

**Fix:**

1. Open the recipe and look for the ingredient flagged as missing nutrition data.
2. Click through to that ingredient.
3. Open the **Nutrition** tab.
4. Enter values per 100g for energy, fat, saturates, carbohydrates, sugars, protein, and salt. Fibre is optional.
5. **Save** the ingredient.
6. Return to the recipe and click **Recompute**.

If you don't have nutrition data for an ingredient, you can usually find it on:

* The product packaging from your supplier
* The supplier's website or technical data sheet
* The [McCance and Widdowson food composition database](https://www.foodcompositiontable.com/) for raw ingredients

## How to find which ingredient is causing the warning

FoodCore usually tells you directly. When you open a recipe with a missing-data flag:

* Look in the ingredient list for any ingredient showing a **warning icon** or highlighted in amber/red.
* Hover over or click the warning to see what's missing (allergens, nutrition, or both).
* Click the ingredient name to open it directly.

If no individual ingredient is highlighted but the recipe still shows a missing-data warning, check whether the recipe has any ingredients at all on the Ingredients tab.

## After fixing: recompute the recipe

Once you've corrected the ingredient data, you need to recompute the recipe to clear the warning:

1. Return to the recipe.
2. Click **Recompute** (near the cost summary or in the recipe header).
3. FoodCore recalculates costs and re-evaluates the data completeness.
4. If all issues are resolved, the missing-data flag should clear.

If the flag persists after recomputing, there may be more than one ingredient with missing data. Work through each flagged ingredient until the recipe is clean.

## Missing data and labels

FoodCore will warn you if you try to generate a label from a recipe with missing data. This is intentional — a label printed from incomplete allergen data could be inaccurate and potentially dangerous. Resolve the missing data before printing labels from the recipe.

{% hint style="warning" %}
FoodCore helps you organise and manage the information you need, but you should always check official guidance or speak to your local authority if unsure.
{% endhint %}

## What's next

* [Set allergens on an ingredient](https://docs.foodcore.io/ingredients/allergens.md)
* [Add or edit an ingredient](https://docs.foodcore.io/ingredients/add-ingredient.md)
* [Create a recipe from scratch](https://docs.foodcore.io/recipes/create-recipe.md)
* [Generate a label once the recipe is complete](https://github.com/CharliesGFTreats/foodcore-docs/blob/master/labels/generate-label.md)
