Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
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)
2 answers
  1. May 17, 2024, 2:07 PM

    I faced a similar issue while making changes in the sandbox.

    The email deliverability was off, I switched it to All Emails and then I was able to save my changes.

0/9000