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
CRMfusion - GWCRMfusion - GW 

SOQL size for BULK API

With version 28 of the API the length of SOQL queries was raised from 10,000 characters to 20,000 characters.  Was the limit on SOQL in Bulk API queries also raised?


We seem to have failures when the SOQL is above 10,000 characters


According to this page at the bottom, it throws an error. Being that is an API, it's up to them.

SOQL statements can't exceed 10,000 characters. For SOQL statements that exceed this maximum length, the API returns a MALFORMED_QUERY exception code ; no result rows are returned.