Contact upserts via contacts/v1/contacts REST route fail when the user does not have Culture Code set to English (United States)
Trailblazer Community

Contact upserts via contacts/v1/contacts REST route fail when the user does not have Culture Code set to English (United States)

Marketing Cloud API , Marketing Cloud Audience/Contacts , Marketing Cloud Mobile

Last updated Yesterday ·Reference W-8237017 ·Reported By 2 users

In Review

Summary
When an account user with a Culture Code different than English (United States), e.g. French (France), English (United Kingdom), is trying to upsert data into an attribute set like Mobile Demographics, the upserts are failing with below validation error.

Error: The Attribute has an 'Inner Value' that could not be parsed to the correct data type. [DefinitionName: Created Date]

Repro
1) Set the account user's Culture Code to French (France).
2) Make API call to contacts/v1/contacts either POST/PATCH

{
"contactKey" : "W-7831107_contact1",
"attributeSets": [
{
"name": "MobileConnect Demographics",
"items": [{
"values": [{
"name": "Mobile Number",
"value": "00000000000"
},
{
"name": "status",
"value": "2"
}
]
}]
}
]

3. API response includes the following errors:

"The Attribute has an 'Inner Value' that could not be parsed to the correct data type. [DefinitionName: Created Date]..."

and

"The Attribute has an 'Inner Value' that could not be parsed to the correct data type. [DefinitionName: Modified Date]..."

Workaround
Change the user culture code to English (United States) to perform the upsert.

Reported By (2)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.