+ Start a Discussion
BobCeuppensBobCeuppens 

SOQL FORMAT() function issue in REST API

When using the SOQL FORMAT() function through REST API, we get a JSON error in the response:
"message" : "java.lang.String cannot be cast to java.util.Date",
"errorCode" : "JSON_PARSER_ERROR"

When requesting application/xml, we are getting the correct value in the XML response.

Anyone experienced the same behaviour?