<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
Mapping to a String List Type (enum) Attribute
Lifecycle Management
Okta Classic Engine
Okta Identity Engine
Overview

Mapping to an enumerated list attribute does not reflect the expected value in the target profile, and a mapping preview displays the following error.

 

 Invalid value data type for property [attribute name]

 

Applies To
  • Attribute Mapping
  • Lifecycle Management (LCM)
  • Mapping error
  • Invalid value data type for property
  • Enumerated list attribute
Cause

Mapping to a string list (enum) attribute will result in the error Invalid value data type for property [attribute name] unless the correct value is passed. 

error

Solution

This attribute is expecting one of its own values to be mapped. See the following attribute configuration and its values:

String list

In mappings to an attribute like the one above, the input must exactly match one of the values under Value. Empty spaces will count as differences and result in an error. See the image below and note the empty space at the end of the string and the non-matching string after that. The values in the left field are expected to be either "one", "two" or "three" according to the attribute's configuration:

Value

Value

 

 

The next image shows a successful mapping of a value to the attribute:

 

Value

Since the input value matches one of the values assigned to the attribute in its configuration (for example, "one," "two," or "three"), the mapping will be successful. 

 

Loading
Mapping to a String List Type (enum) Attribute