• Siddhesh G. Kabe
  • NEWBIE
  • 0 Points
  • Member since 2014
  • Salesforce.com


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi, I am receiving the following message when trying to create an Event fields throught the mobilesdk REST API:

{"errorCode":"JSON_PARSER_ERROR","message":"Cannot deserialize instance of date from VALUE_STRING value  at [line:1, column:32]"}]

It is using a patch call with the following payload:

Date__c: ""
Date_time__c: ""
EndDateTime: "2014-03-19T13:04:34.00Z"
OwnerId: "005E0000000eHwWIAU"
StartDateTime: "2014-03-19T13:04:30.00Z"
Subject: ""
WhatId: ""
WhoId: ""

Is this normal? How can I save a record with a date or datetime field with empty value?

Thanks for replying

Maurizio