We've been using the BulkAPI (XML/SOAP) successfully for several months now and were looking to migrate over to the BulkAPI v2.0.
However, when submitting a job (queryAll) to the 2.0 API we're getting a
Failed status on the job with query > 4100 chars (this is common query length when doing a Select on ALL fields from Account/Lead/Etc). If I reduce the number of fields to select the query will work.
Has there been a query length change from 1.0 -> 2.0? These queries ran fine on the SOAP API.
Edit: found docs stating SOQL length can be up to 20k https://help.salesforce.com/articleView?id=000333028&language=en_US&type=1&mode=1