-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Description
v2BotLocaleId in lex-web-ui-loader-config.json does not work correctly with Amazon Lex V2 bots that have multiple locales enabled.
- Passing an array of locales (e.g. ["en_US","fr_CA","ar_AR"]) fails immediately with a validation error.
- Passing a single string works only for one locale.
- Passing a comma-separated string (e.g."en_US","fr_CA","ar_AR") allows initialization but fails at runtime with a Lex V2 validation exception.
This makes it impossible to use multi-locale Lex V2 bots with aws-lex-web-ui.
Actual Behavior
-
Array input → blocked by validation (only use string)
-
Comma-separated string → runtime error:
ValidationException: Value "en_US","fr_CA","ar_AR" at 'localeId'
failed to satisfy constraint:
Member must satisfy regular expression pattern:
([a-z]{2}[A-Z]{2}|[a-z]{2}[A-Z]{2}_[0-9]{3})$ -
Chatbot fails to load and eventually times out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels