+ Start a Discussion
Lucas Han 9Lucas Han 9 

Trailhead Use Bulk API too many SOQL

I followed the tutorial here (https://trailhead.salesforce.com/content/learn/modules/api_basics/api_basics_bulk?trail_id=force_com_dev_intermediate) but couldnt pass because I can only inject 100 users a time. I checked the failedResult User-added image
looks like it use SOQL for each individual record, I must did something wrong?
Best Answer chosen by Lucas Han 9
Raj VakatiRaj Vakati
Looks like your account trigger is not bulkified 

All Answers

Raj VakatiRaj Vakati
Looks like your account trigger is not bulkified 
This was selected as the best answer
Rameshwar gaurRameshwar gaur
Are You use batch in the End?
Can you Post what you write in URI Text Box?
Lucas Han 9Lucas Han 9
Thanks Raj and Rameshwar.
End up I found that there is one account trigger created from previous tutorial that is not bulkified.  I ran the same process in a new playground instance it passed