I am getting exception on a post request logged in stackify but not able to find cause of the error

76 Views Asked by At

Following is the exception stackify shows me on dashboard:

ERROR The string was not recognized as a valid DateTime. There is an unknown word starting at index 0. System.FormatException: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0. ---> System.FormatException: null is not a valid value for DateTime. at System.DateTimeParse.Parse at System.ComponentModel.DateTimeConverter.ConvertFrom --- End of inner exception stack trace --- at System.ComponentModel.DateTimeConverter.ConvertFrom at System.ComponentModel.NullableConverter.ConvertFrom at Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder.BindModelAsync

I am not able to understand which field of the viewmodel causes the issue like this. How can I catch this exception on my local code?

0

There are 0 best solutions below