0

I'm trying to download the results from my SOQL query as a CSV, but when I choose "Bulk CSV" the resulting file contains the query itself and not the result set.

SOQL query -- list view

List view shows 21k+ records.

SOQL query -- bulk CSV

It looks like all records were processed, but when I download the file...

$ wc -c bulkQuery_request_7503k00000PDhGSAA1_7513k00000UoYmsAAF.txt
51 bulkQuery_request_7503k00000PDhGSAA1_7513k00000UoYmsAAF.txt
$ cat $_; echo
select X3LA__c, Name, Id from Account order by Name
$

I get the query instead of the results. What am I doing wrong here?

3

This could be a misinterpretation of the UI.

You need to click on the download icon

enter image description here

2
  • Thanks, that was it! That's pretty non-intuitive, at least to me.
    – Andrew
    May 5 at 13:22
  • Let's just say you weren't the only one misled:-)
    – cropredy
    May 5 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.