Why value is not an area id the Routing API can look up, or undefined when it is: a
positive whole number in ASCII digits, without a leading zero, at most
MAX_AREA_ID — the form areas lists ids in ("940", "21709"). The spec
only says ^\d{1,}, but the live API answers a leading zero (0940, the same number
as the documented 940) and a 20-digit id with HTTP 500 "Calling the third service
'AreaService' resulted in an exception", which reads like an outage. The API has no
upper bound of its own to match: live on 2026-10-06 it answered that same 500 for every
id it doesn't know — 99999, a 9-digit 123456789, 2147483647 and 2147483648 alike — so
the int32 cap (like offset) only keeps the value a plain number; every real id seen
has five digits or fewer. Checked on the trimmed value, after the tokenProblem rules
(blank, invisible or control characters).
Why
valueis not an area id the Routing API can look up, or undefined when it is: a positive whole number in ASCII digits, without a leading zero, at most MAX_AREA_ID — the formareaslists ids in ("940","21709"). The spec only says^\d{1,}, but the live API answers a leading zero (0940, the same number as the documented940) and a 20-digit id with HTTP 500 "Calling the third service 'AreaService' resulted in an exception", which reads like an outage. The API has no upper bound of its own to match: live on 2026-10-06 it answered that same 500 for every id it doesn't know — 99999, a 9-digit 123456789, 2147483647 and 2147483648 alike — so the int32 cap (likeoffset) only keeps the value a plain number; every real id seen has five digits or fewer. Checked on the trimmed value, after the tokenProblem rules (blank, invisible or control characters).