REQUIRED_FIELD_MISSING

A field that is required at the database level was left blank. The message lists the fields, for example Required fields are missing: [LastName].

Common causes

  • A standard required field is missing, such as Lead LastName and Company, or Opportunity Name, StageName and CloseDate.
  • A custom field is marked Required in its field definition.
  • A CSV column is unmapped or blank for some rows.
  • A flow’s Create Records element or Apex code does not set the field.

How to fix

  • Populate the field named in the brackets.
  • Check the column mapping in Data Loader or Data Import Wizard.
  • Add a default value to the field if a sensible default exists.
  • If the field should only be required for users, remove the field-level requirement and make it required on the page layout instead. Layout requirements do not apply to API or Apex.

You may also like...