Hi ,
I am trying to load data to an Entity through REST API. This entity has a Timestamp field.
Thouh I am able to load the Data without the timestamp value.
But I am getting following error while trying to load the Timestamp field.
"errorMessage" : "Unable to parse value [2020-01-01T00:00:00Z] as a date (for expression [IncorporationFormationDate])"
I was looking for details in Smearchy document for any guidance , I have found below statement regarding that.
"The REST API uses the ECMAScript standard format (YYYY-MM-DDTHH:mm:ss.sssZ) for timestamps.
This format includes an explicit timezone component, and conversion is performed automatically."
Please suggest me a solution for this.
Thank you very Much,
Kousik
Hello Kousik,
As the error message says- "Unable to parse value [2020-01-01T00:00:00Z] as a date (for expression [IncorporationFormationDate])"
You have missed '.sss' in the value and that's why it is throwing the error, The format is as follows: YYYY-MM-DDTHH:mm:ss.sssZ
YYYY-MM-DDTHH:mm:ss.sssZ
You can have a value like this-2020-01-01T00:00:00.000Z
Thank you.
Kousik DAS
Hi ,
I am trying to load data to an Entity through REST API. This entity has a Timestamp field.
Thouh I am able to load the Data without the timestamp value.
But I am getting following error while trying to load the Timestamp field.
"errorMessage" : "Unable to parse value [2020-01-01T00:00:00Z] as a date (for expression [IncorporationFormationDate])"
I was looking for details in Smearchy document for any guidance , I have found below statement regarding that.
"The REST API uses the ECMAScript standard format (YYYY-MM-DDTHH:mm:ss.sssZ) for timestamps.
This format includes an explicit timezone component, and conversion is performed automatically."
Please suggest me a solution for this.
Thank you very Much,
Kousik
Hello Kousik,
As the error message says- "Unable to parse value [2020-01-01T00:00:00Z] as a date (for expression [IncorporationFormationDate])"
You have missed '.sss' in the value and that's why it is throwing the error, The format is as follows:
YYYY-MM-DDTHH:mm:ss.sssZYou can have a value like this-2020-01-01T00:00:00.000Z
Thank you.
Subham Dixit
Hello Kousik,
As the error message says- "Unable to parse value [2020-01-01T00:00:00Z] as a date (for expression [IncorporationFormationDate])"
You have missed '.sss' in the value and that's why it is throwing the error, The format is as follows:
YYYY-MM-DDTHH:mm:ss.sssZYou can have a value like this-2020-01-01T00:00:00.000Z
Thank you.
1 person likes this
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics