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
You check the generated REST API endpoint and structure, the format is explicitly defined there :
You can have a value like this-2020-01-01T00:00:00.000Z
Thank you.
1 person likes this
M
Matthieu DE PILLOT DE COLIGNY
said
about 6 hours ago
As a side note, the exact formatting depends on your database type and column type. For such errors the first troubleshooting step should be to check the type and desired format of the targeted column. If you need to implement an explicit cast, the DB documentation is the best place to look for the exact syntax
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.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstSubham 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
Matthieu DE PILLOT DE COLIGNY
As a side note, the exact formatting depends on your database type and column type. For such errors the first troubleshooting step should be to check the type and desired format of the targeted column. If you need to implement an explicit cast, the DB documentation is the best place to look for the exact syntax
-
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
-
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?
-
After detecting duplicates, I am not getting the 'Review Suggested Duplicates' action enabled.
See all 175 topics