go-sfdc icon indicating copy to clipboard operation
go-sfdc copied to clipboard

Fix update during Upsert()

Open vtopc opened this issue 5 years ago • 0 comments

Currently, v48.0 Salesforce API during PATCH by external ID returns 200 on a successful update, with next payload:

{
    "id": "001D000000IqhSLIAZ",
    "success": true,
    "errors": [],
    "created": false
}

Before this fix, Upsert() was returning "upsert response err: 200 200 OK" error during successful update.

vtopc avatar May 27 '20 17:05 vtopc