This article provides troubleshooting steps for the following error received when attempting to confirm an imported user from an application like Active Directory:
preferredLanguage For property '{0}', string value of {1} is not a valid language priority list from RFC 7231 Section 5.3.5
- Directories
- Active Directory Imports
- Just-in-Time Provisioning
The Okta attribute Preferred language (user.preferredLanguage) has a specified Data Type of language code.
- The language code data type recognizes the standard ISO 639 (1–3) language codes.
- For example: en-5, en-US.
- ISO 639 can provide up to a 3-letter code and can be separated by a hyphen character ("-").
Review the value mapped to the Okta attribute Preferred Language by navigating to Profile Editor > Directories > Mappings > directory to Okta User and find preferredLanguage on the right side to ensure the corresponding Active Directory value conforms to the correct formatting standards.
Related References
- See the following official ISO 639 documentation for more information: ISO 639 Language codes.
