You need to sign in to do that
Don't have an account?
Test999999
BulkAPI Query
What do I need to set if I want a gzippped CSV result response for a bulkapi query ? I can get the CSV but cannot seem to get it compressed.
I have tried setting the Content-Type of the GetResult GET to gzip but that has no effect.
I have also tried changing the ContentType of the JobInfo to ZIP_CSV but that does not work either.
Thanks,
Bill
same problem here. tried with ZIP_CSV for a query and got a response:
<?xml version="1.0" encoding="UTF-8"?><error
xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<exceptionCode>InvalidJob</exceptionCode>
<exceptionMessage>Bulk query does not support content type: ZIP_CSV</exceptionMessage>
</error>
Did anyone figure this out?
I've found that If you do a Bulk Query and the the ContentType to ZIP_CSV you will get an error when you try to creat the job.
You can add a content type header of "gzip" or accept encoding of "gzip" but I still always seem to get a response that is text
Salesforce responded and said that compression is NOT supported in Bulk Query as of API 24
Can someone from salesforce product management comment on whether this was corrected in api 25.0 ?
I'll find out for sure, but i don't think there were any bulk API changes in v25.
Thanks Simon. I sent Alex an email or 2 but never got a response.
Anything on this yet ?
I'm using verion 32 and this still seams to be an issue. Any hopes of using compression and bulk query?