You need to sign in to do that
Don't have an account?

"Get Deleted" response is missing deleted records
I have some code that syncs data and I make use of the Get Deleted (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_getdeleted.htm) API to make sure that I can remove records from my system that have been deleted in Salesforce.
I came across an OpportunitySplit recently that looks like this (leaving out some unimportant fields):
But when I request the list of deleted OpportunitySplits between 2019-06-06T18:35:00.000+0000 (one hour before it was created) and 2019-06-11T18:05:33.000+0000 (the current time when I was testing), I get back 118 entries, but not the Id of the object shown above. Is it possible that objects deleted in salesforce don't show up in the deleted list? Is there a better way for me to sync deletes into my system?
I came across an OpportunitySplit recently that looks like this (leaving out some unimportant fields):
{"Id"=>"0491P000001BAWTQA4", "IsDeleted"=>false, "CreatedDate"=>"2019-06-06T19:35:00.000+0000", "SystemModstamp"=>"2019-06-06T19:35:00.000+0000"}This item has been deleted in Salesforce and if I try to query for the item, I get no results.
SELECT Id, Split, IsDeleted FROM OpportunitySplit WHERE Id = '0491P000001BAWTQA4'
But when I request the list of deleted OpportunitySplits between 2019-06-06T18:35:00.000+0000 (one hour before it was created) and 2019-06-11T18:05:33.000+0000 (the current time when I was testing), I get back 118 entries, but not the Id of the object shown above. Is it possible that objects deleted in salesforce don't show up in the deleted list? Is there a better way for me to sync deletes into my system?
Maybe metadata around deletes was lost?