Skip to main content

What to do, when facing the metadata deployment errors of:

  • Page Layout: Invalid field:TASK.SUBJECT in related list:RelatedActivityList
  • Page Layout: Invalid field:NAME in related list:RelatedEmailMessagePeopleList
  • Permission Set: Unknown user permission: EditEvent
  • Permission Set: Unknown user permission: EditTask
  • Activity Custom Object: searchResultsFields TASK.SUBJECT not found

I faced these errors for my CI/CD deployment user, which I had changed Profile = Minimum Access - API Only Integrations and User License = Salesforce Integration

 

I found that the user was missing the System Permission = Access Activities, and when granting this via a permission set, then the errors were resolved. 

 

I hope others can use this finding in the future, because the errors were not really documented anywhere. 

 

#Deployment Error  #Metadata

1 条评论
  1. 2025年9月19日 06:21

    I was struggling with these errors for a while, finding your post really made my day!

0/9000