⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

COOKLANG_I0401: Incompatible units ​

Level: error(internal)

What this error means ​

Two quantities with incompatible or unknown units were merged together, e.g. grams and litres. Every public call path that merges quantities pre-filters by compatible unit type before this can happen, so you should not be able to trigger this from recipe text, a pantry, a shopping list or a product catalog. This is a bug in @tmlmt/cooklang-parser, not a problem with your input.

How to fix it ​

Please open an issue with a minimal input that reproduces the error.