Why the deleting from the Target always runs for me?

Question.

How can I avoid Delete from Target, it seems to always run for me. What am I doing wrong?

Below is my export file:

{
     "query":"Select Name from TestObject1__c",
     "operation": "Insert",
     "deleteOldData": "false",
     "externalId" : "Name"
}

Answer.

Try this:

"deleteOldData": false

This is a boolean parameter and must be used without quotation.

For the guide how to delete records see the Full Export.json Format article

Last updated on Tu May 2022