function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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?