Attribute are creating empty when find a object by key set to yes Rest API

0
Hi,  I try to create the objects using restapi. Sometimes i need to update the data instead of creating new data. So i choose to find a object by key and then selected create new object if not found by keys.    It is working when the object will the key is there. In that case it is updating the data. But if the keys are not there, Then it ia creating new objects with empty keys.  In my case a new objects are created with the two attributes as empty(the attributes which are declared as keys). Could someone please help me with this
asked
1 answers
0

Hi 

Please give ignore, if no object is found, so this won't create any new objects. 

If you give create , then objects will be created with empty attributes

answered