AnsweredAssumed Answered

Upsert in MDF Object

Question asked by ImranShaik7901 on Apr 21, 2017
Latest reply on Apr 25, 2017 by ImranShaik7901

Hi I am getting the following error while upserting data into payment information. I am using PaymentInformationDetailV3 API to upsert the data.

<objectEditResult>
<index>1</index>
<errorCode>200</errorCode>
<errorMessage>OK</errorMessage>
<results>
<key>null</key>
<status>ERROR</status>
<editStatus>null</editStatus>
<message>Save batch MDF object failed! 0:Sorry, you should provide only one main payment method. with the index 0</message>
<index>0</index>
<httpCode>500</httpCode>
<inlineResults>null</inlineResults>
</results>
</objectEditResult>

 

I have seen that in SF, there is already one record exists. I am upserting again. So how can i increase the value of index from 0 to 1. Please help me. Thanks in advance.

Outcomes