Skip to content
opis.Nutrition API

← All error codes

quantity_text_unsupported_locale

quantity_text unsupported for locale · HTTP 422

What it means

quantity_text was sent without grams for a non-English locale.

What to do

Send grams for those items.

Example

{
  "type": "https://platform.opis.health/docs/errors/quantity_text_unsupported_locale",
  "title": "quantity_text unsupported for locale",
  "status": 422,
  "detail": "…",
  "code": "quantity_text_unsupported_locale",
  "request_id": "req_01k68a9nytdxx0x5x0p47zgrm8"
}