+ Start a Discussion

Api Intergration Issue

Hi All,
I have created an api integration in salesforce. From client's website a request will send to Salesforce in form of JSON. This will create record in Salesforce. Sometimes multiple requests are sending. This is causing duplicates. I don't have option to control from Client's website. Can you please tell do we have control in salesforce ??
Actual problem is there is some delay is insert operation. Due to this existing record checking is not performing. Hence duplication is causing.
Sean 94Sean 94
try upsert ,not insert
ANUTEJANUTEJ (Salesforce Developers) 
Hi Eswari,

I found these two ways that you can try checking:

>> creating a matching rule so that the duplicates are not entered.

>> another way is to have an external id that you can send from the third party website so you can use this to check duplicates.


Also, can you check if you can increase time out?

I hope this helps and in case if this comes in handy can you please choose this as the best answer so that it can be useful for others in the future.