+ Start a Discussion
ndrannapareddyndrannapareddy 

System.JSONException: Cannot deserialize instance of date from VALUE_STRING value 02/11/2007 at

I am getting a Response from Remote system with some parametrs like 

('{"Job":{"Id":832,"Status":"Completed (Warnings)"},"Data":{"?xml":{"@version":"1.0","@encoding":"utf-8"},"Loans":{"Loan":[{"Master_Servicer__c":null,"Maturity_Dt__c":"06/11/2012","Maturity_Trm__c":"360","ML_Remain_Mths__c":"0","Net_Spread__c":"1.850","NOI_UW__c":"546446",
"Note_Date__c":"12/14/2006",
"Note_Rate__c":"5.850","Orig_percent__c":null,"P_I_Monthly_Payment__c":"28907.11","Payment_First_Date__c":')

I get the above Error . 

is there any way i need to type cast the data for Date format ?

Ashish_SFDCAshish_SFDC
Hi , 


date / datetimes should be in iso 8601 format, e.g. 2012-05-14T20:21:00Z

See more information in the link below, 

https://developer.salesforce.com/forums/ForumsMain?id=906F00000009BsqIAE


Regards,
Ashish