A user is getting this error everytime they try to make an edit on their detail page on a case record:

[LWC component's @wire target property or method threw an error during value provisioning. Original error: [Object EmailMessage is not supported in UI API]]

enter image description here

New contributor
UserGuestNYG90 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1


This is a known issue:

Cannot save Case created via Email-to-case in Lightning if Case Source field is Editable

The workaround, currently, is to remove the Case Source field from the page layout for that user or make it read-only on the layout.

The error is due to the fact that Case Source polymorphic field has a value related to EmailMessage (and it's not enabled in UI-API which is used in editing the page).

Your Answer

UserGuestNYG90 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.