simple-salesforce icon indicating copy to clipboard operation
simple-salesforce copied to clipboard

Possible BUG: 'Upsert' and 'Update' give response.txt = empty string if "raw_response=True"

Open kappafix opened this issue 5 years ago • 1 comments

Possible BUG 'Upsert' and 'Update' give "response.txt" = empty string. I tryed to insert "raw_response=True" because I would like to get the full answer from SF, but empty string is given. If I use the normal answer, I get the status_code as expected.

kappafix avatar Mar 05 '21 19:03 kappafix

@kappafix It looks like this behavior is expected from simple-salesforce perspective because the rest call for update and upsert should get nothing from Salesforce. The below doc indicates this.

REST API Developer Guide

Example response body for updating fields in an Account object none returned

hkajiwara avatar Apr 27 '21 05:04 hkajiwara