Error: You cannot deploy to a required field
Mike Arthur • 10 May 2018
Avoid required fields in profiles and permission sets
Since API version 30.0 a change set or ant deployment will fail if a field that is required in the field definition is included in a profile or permission set that is being deployed.
If you create a new custom field and check
'Required', Field Level Security automatically becomes 'Visible' for all
profiles. Similarly, if you edit the definition of a custom field
which is not visible to all profiles and check 'Required' then it
automatically becomes visible to all profiles. Therefore there is no
need to reference it in a permission set. Try it!
My Blog of Salesforce Stuff
'XHR Failed' error when trying to install VS Code extension
What is $A (dollar A) in Lightning Aura component framework? Is it a global variable? Where are the docs for $A?
What to do if you receive emails about expiring certificates