Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.
No ratings
SB
Saviynt Employee
Saviynt Employee

Issue Statement

Getting below error when trying to create an account is Salesforce.

Error :

"message":"Cannot deserialize instance of date from VALUE_STRING value ${user?.startdate.format('YYYY-MM-dd')} or request may be missing a required field at [line:1, column:428]","errorCode":"JSON_PARSER_ERROR"}],"statusCode":400,"description":null,"status":"Failed"}]},"

Pre-requisites

Connection should be successful

Applicable Version(s)

All

Solution

The issue occurred due to date format defined in the JSON. You can use below format to fix the issue.

date formate : "yyyy-MM-dd'T'HH:mm:ssXXX"

Sample Json :

{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"accountID": "Id~#~char"
},

Version history
Last update:
‎07/26/2023 08:07 AM
Updated by:
Contributors