<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
AD Assignment Error Received Due to Invalid preferredLanguage Value
Okta Classic Engine
Directories
Okta Identity Engine
Overview

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

Error Message 

 
Applies To
  • Directories
  • Active Directory Imports
  • Just-in-Time Provisioning
Cause

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 ("-").
Preferred language
 
Solution

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.


Mapping 


 

Related References

Loading
AD Assignment Error Received Due to Invalid preferredLanguage Value