Extra Comma in SoQL
-
I’ve created a field map for the Content Version object in Salesforce. I successfully created this map before, but on recreating it now, the query (below, from debug logs) keeps failing due to an extra comma being inserted before “FROM”, almost like it was expecting another field. Strangely, whether the field map includes just the Id field or fields additional to those in the query, it’s always running the query below. It’s almost like it’s cached, though I have tried clearing the cache multiple times. Any ideas on troubleshooting this?
SELECT Id, Certificate__c, File_Type__c, Section__c, Year__c, Public_URL__c, FROM ContentVersion WHERE > 2020-01-10T03:05:02Z AND LastModifiedDate > 2020-01-10T03:05:02Z AND SystemModstamp > 2020-01-10T03:05:02Z ORDER BY ASC LIMIT 350 OFFSET 1050
- The topic ‘Extra Comma in SoQL’ is closed to new replies.