You need to sign in to do that
Don't have an account?
Presence 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?
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?
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.
Did you find a solution?
We have got the same issue and now we have a solution, also confirmed by Salesforce Support.
The issue:
In the flow, element Lookup for "User" object has the option "How to Store Record Data", as "Automatically store all fields".
These will bring all fields along on the query and this "ProfilePhotoId" is part of it, but neither us (or you) have access to it.
The Solution:
Go to the flow element Lookup for "User" object, on the option "How to Store Record Data", change it to "Choose fields and let Salesforce do the rest".
Then, select only the fields you want to retrieve and the issue is no longer present.
I hope it helps.
Cheers
Hugo