I have a model with a nullable DateTime property
public DateTime? DateOfBirth { get; set; } when calling the API with the following value for the property
{ "Country": "US", "State": "New York", "Zip" : "123455", "dateOfBirth": "8/15/62" } This error is thrown by .net framework:
"errors": { "$.dateOfBirth": [ "The JSON value could not be converted to System.Nullable`1[System.DateTime]. Path: $.dateOfBirth | LineNumber: 9 | BytePositionInLine: 33." ] The parsing seem to work with other date formats like yyyy-mm-dd, but not for the format mentioned above in the example.