I have been trying to update a nested object using simple_salesforce specifically been trying to update the Owner field in a Case object.
from simple_salesforce import Salesforce
sf = Salesforce(username = 'username',password = 'password',security_token='security_token', sandbox = False)
sf.Case.create({'Description':'stuff in description','Owner':'Owners User'})
Whenever I try to insert I get the following error:
Response content:
[{u'errorCode': u'INVALID_FIELD', u'message': u'The value provided for foreign key reference Owner is not a nested SObject'}]
Please, any help would be appreciated.