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
HugoNowHugoNow 

Communication error

When I do this query in the Dev Console, it returns a Communication error: 
SELECT CreatedDate FROM CustomObject__c WHERE CustomField__c = 'a0Fd000000VCFnxEAH' ORDER BY CreatedDate LIMIT 1

however, when I change the LIMIT 1 to LIMIT 2 for example, it works as expected and returns 2 records. It points to a SF bug but I am not able to diagnose further.
Any ideas?
Thanks
Gaurav NirwalGaurav Nirwal
Please change the sql command