You need to sign in to do that
Don't have an account?
deepak_naik
ClientInputError - exceptionMessage='Server error returned in unknown format' while using Bulk Query
I am using Bulk Query, reading one batch at a time, and writing to the standard output. When the records size is small like 100000 records, the job works fine, but when I try to extract records like for example 7 million records (7000000 records), the job aborts with the following exception
Job id is 750A0000004YXlsIAG [AsyncApiException exceptionCode='ClientInputError' exceptionMessage='Server error returned in unknown format' ]
at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:190) at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:747) at com.sforce.async.BulkConnection.getBatchInfo(BulkConnection.java:557) at com.sforce.async.BulkConnection.getBatchInfo(BulkConnection.java:550)
Attached is the source code, and the Salesforce Jar files that I use is force-partner-api-39.0.0.jar force-wsc-39.0.0.jar jackson-core-asl-1.9.13.jar jackson-mapper-asl-1.9.13.jar
Anything that I am missing here
Job id is 750A0000004YXlsIAG [AsyncApiException exceptionCode='ClientInputError' exceptionMessage='Server error returned in unknown format' ]
at com.sforce.async.BulkConnection.parseAndThrowException(BulkConnection.java:190) at com.sforce.async.BulkConnection.doHttpGet(BulkConnection.java:747) at com.sforce.async.BulkConnection.getBatchInfo(BulkConnection.java:557) at com.sforce.async.BulkConnection.getBatchInfo(BulkConnection.java:550)
Attached is the source code, and the Salesforce Jar files that I use is force-partner-api-39.0.0.jar force-wsc-39.0.0.jar jackson-core-asl-1.9.13.jar jackson-mapper-asl-1.9.13.jar
Anything that I am missing here
This source code is compiled and using force-partner-api-39.0.0.jar force-wsc-39.0.0.jar jackson-core-asl-1.9.13.jar jackson-mapper-asl-1.9.13.jar