Skip to main content

Error M0006

The proposed language settings for $LANG are not supported.

Problem​

An error code with the acronym M0006 has appeared.

Solution​

A Context object is sent with a SOAP (Simple Object Access Protocol) API or REST (Representational State Transfer) API request, which contains information about the locale and language. The value of the locale field in this object should match one of the values ​​supported by the application. Check if the value has a correct value, e.g. pl_PL . If not, change the value of this field to a supported one.

See the list of supported values ​​on the JDK 8 and JRE 8 Supported Locales page.