+ Start a Discussion

Invalid target field for field update

Has anyone here encountered this error before: Invalid target field for field update. ?

I have created a SendEmail quick action for Cases with a Predefined Field Value for the ToAddress(formula: Owner.Manager.Email)
I get this error during build when the predefined value is in the metadata. When I try to remove the predefined value in the metadata, the build is successful.

I already checked the fieldPermission for all profiles of the Manager's Email and they all have access to the field. Does anyone know why I'm getting this error?

PS. When I check the metadata of all profiles, I don't see the EmailMessage.ToAddress or any fieldPermission for all EmailMessage fields. Does the EmailMessage fields permission need to be in the profile too? (The EmailMessage fields permission in the target org are editable already)
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Sp13,

May I request you to please refer the below link for reference.  
I hope it will be helpful.

Best Regards
Rahul Kumar