I read that records are in the same order as they are sent, but what happens if I upsert 5 records and only 3 are fine? For example:

  1. Fine
  2. Fails
  3. Fine
  4. Fine
  5. Fails

Am I going to receive 5 records or 3? If 3, I need to perform another query, sigh.

1 Answer 1


The documentation has a good description of how to handle failures.

You get back all records and any error messages:

"","false","false","REQUIRED_FIELD_MISSING:Required fields are missing: [LastName]:LastName --"
  • Thanks a lot, I thought only successful records will be returned with with a "multiple records" request (a bulk upsert with more than one record) Dec 8, 2014 at 17:59

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.