Member locales malformed

What the MemberLocalesMalformed error (400 Bad Request) means, the fields it carries, and the endpoints that return it.

The API answers 400 Bad Request with this problem. Its type is https://lingo.dev/docs/api/errors/member-locales-malformed. See Errors and status codes for the shape every error shares.

Not BCP-47 locales: "<locale>". Use locales such as "en", "pt-BR" or "zh-Hans-CN", or none for any language.

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
userIdstring
localesstring[]

Example #

json
{
  "detail": "Not BCP-47 locales: \"<locale>\". Use locales such as \"en\", \"pt-BR\" or \"zh-Hans-CN\", or none for any language.",
  "userId": "<userId>",
  "locales": [
    "<locale>"
  ],
  "type": "https://lingo.dev/docs/api/errors/member-locales-malformed",
  "status": 400,
  "title": "Member locales malformed"
}

Returned by #

  • PATCH /v2/organizations/{orgId}/decision-pools/{id}
  • POST /v2/organizations/{orgId}/decision-pools/internal