Invalid sharing model for object
Detection
- RegExp:
Error (.*) (\w+) is not a valid sharing model for (\w+)
Examples
Error Asset ControlledByParent is not a valid sharing model for Asset
Resolution
Sharing model {2} is not allowed for {3} in the target org.
- Check the sharing models {3} accepts in the target org (Setup -> Sharing Settings)
- Set an accepted value in <sharingModel> and <externalSharingModel> of the object file of {3}