Skip to Content
0
Oct 26, 2021 at 06:20 PM

Cannot parse default value of type 'LocalDateTime' MDK

392 Views

Hi everyone!

I am trying to initialize an OData in my mobile application, it returns various bugs i have been fixing, but i ran into a bug that doesnt I can fix and it is as follows:

Property Error: Cannot parse default value '/Date(1577836799999)/' of type 'LocalDateTime'.
<Property Name="due" Type="Edm.DateTime" Nullable="true" sap:required="false" sap:creatable="true" sap:updatable="true" sap:upsertable="true" sap:visible="true" sap:sortable="true" sap:filterable="true" sap:display-format="Date" DefaultValue="/Date(1577836799999)/" sap:label="Due"/>

I have been playing with the "Service Options" and "CSDL Optios" of the service but I can not solve it,
Can someone guide me if this type of error can be solved with some configuration?

I really appreciate your support, Thank you!

I attach the options I have in "Service Options" and "CSDL Optios"

service-options.png

csdl-options.png

Attachments

csdl-options.png (19.8 kB)