I have the account and contact object metadata files with the following sharing types:





When converting and deploying the source to a sandbox, I get the following deploy error:

Error deployablesource/objects/Contact.object Contact ReadWrite is not a valid sharing model for Contact when Account sharing model is Private

But why?

The sandbox and scratch org used to develop are on Summer '19.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.