Queries containing fields(all) gets rejected with message: "The SOQL FIELDS function is not supported with an unbounded set of fields in this API"
Salesforce says this is fixed.
Summary
A SOQL query with the "Fields(...)" keyword in the field list is not supported for a query_more operation. The Soql query will work fine when the number of records returned is complete and within the specified limit but if the query returns a partial result the client will get the error "The SOQL FIELDS function is not supported with an unbounded set of fields via queryMore." when accessing more records using the query locator even though the initial query was bounded.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed
Nov 30, 2026
Also open in API
SFDX CLI retrieve commands failing with Metadata API request failed: Maximum call stack size exceeded
Solution ScheduledPlatform / APIReported Jul 19, 202340 reports40reports
Results resource does not return External ID field values when defaultNamespace header is used
In ReviewPlatform / APISummer '21Reported Aug 11, 202136 reports36reports
Timeout error while generating Enterprise WSDL in Chrome
In ReviewPlatform / APIWinter '20Reported Apr 8, 202227 reports27reports
Data loader BULK API error "InvalidBatch: You cannot have more than 1000 file entries in your zip"
Solution ScheduledPlatform / APISummer '22Reported Aug 5, 202219 reports19reports