How to Quick Fix:

Quick Fix: FIELD_CUSTOM_VALIDATION_EXCEPTION - field must be populated with a value

The Salesforce API returns error messages when it can’t deploy metadata. Learn more about the error, what the cause is and how you can fix the problem.

If you see this Salesforce error message:

FIELD_CUSTOM_VALIDATION_EXCEPTION The field must be populated with a value

This issue occurs when the named field is blank but a field validation rule requires a value in that field. When you update a record the entire record is checked for custom and system validation rules, even if you are not editing these fields. 

The same error also happens when you are using Apex validations with the .addError() method.



If you are sure that you do not have any custom validation enabled and do not use .addError() methods, the other possible scenario for error is that you have a managed package installed that is using these methods. 

Try this quick fix:

  1. Make sure you have permissions to access the field in the source org. 
  2. Make sure no trigger is preventing writing in the destination field. Triggers are usually disabled as a best practice. 
  3. Check if a managed package is firing  custom Apex validations or UI level validations