+ Start a Discussion
Presence Product GroupPresence Product Group 

Required Featured Missing Exception: Field 'ProfilePhotoId' on object 'User' is not supported

We are running into the following exception after updating a record in our org that fires a workflow: 
We can't save this record because the “Account: IAL Email Changes” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to update records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: ContactTrigger: execution of AfterUpdate caused by: System.RequiredFeatureMissingException: Field 'ProfilePhotoId' on object 'User' is not supported. One or more features must be enabled to access this field. () . You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1216016854-20514 (-1794866724)

We are unable to find any documentation about this ProfilePhotoId field or how to enable it. We are also unsure why this is even happening because we can't find anything in the org that is referencing this field.

Has anyone else encountered this?
Rishab TyagiRishab Tyagi
Hello,

It seems like there might be a trigger in your org with the name of ContactTrigger. You can find it under the Setup|Develop|Apex Triggers. You will see that it must be using this field 'ProfilePhotoId' somewhere in its code. Since this is not an actual field in User Object, the code is giving you an exception. You'll need to deactivate this trigger or update the code in order to get rid of this exception so that the trigger no longer interferes with your work.

 Hope that answers your question.