Visibility is not allowed for type
Detection
- RegExp:
Error (.*?) (?:cannot |Cannot )?set the visibility for a (.*) to Protected unless you are in a developer
Examples
Error Config__mdt Cannot set the visibility for a CustomMetadata to Protected unless you are in a developer organization with a namespace
Resolution
Update the visibility of {1} to "Public"