2

I have a Master-Detail relationship with Accounts and Locations.

I am able to create the child using upsert, but when I try to update the Account__c field I get

(INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: Account__c. 
Please check the security settings of this field and verify that it is read/write 
for your profile or permission set.)

Profile and permission set look OK, from what I can tell.

Using Restforce.

3
  • 3
    Sounds like you're trying to reparent a child. Did you check that you are allowed to do so? (check the MD field on the child object) Commented Apr 19, 2019 at 16:54
  • @SebastianKessel - Thank you. That was it. Can you create an answer?
    – B Seven
    Commented Apr 19, 2019 at 16:59
  • 1
    Done. Glad it worked! Commented Apr 19, 2019 at 17:00

1 Answer 1

2

Sounds like you're trying to reparent a child.

Go to the MD field on the child's object and check the box that would allow you to do so.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .