
Hi Ivan Tioh
Thanks for reaching out to Microsoft Q&A forum support
Based on your description, I understand that you're using the SharePoint REST API to retrieve items from a list with a multi-select Person field named "Approvers" One of the users in this field does not have an email address configured, and while the Graph API returns the data successfully (with empty email values), the REST API throws an error when attempting to project the Approvers/EMail
field.
As far as I know, the issue arises because the SharePoint REST API's projection mechanism ($select=Approvers/EMail
) expects all referenced users to have valid email addresses. If any user lacks this information, the API fails with a Cannot get value for projected field Approvers_x005f_EMail error. This behavior is a known limitation of the REST API, which does not gracefully handle null or missing values in projected fields.
From my perspective view, you might try to avoid projecting the EMail
field directly. Instead, consider to use $select=Approvers&$expand=Approvers
to retrieve the full user objects and handle the email values in your application logic. This approach maybe allows you to parse the results manually and tolerate missing email fields without triggering an error.
If the issue still can't be resolved, it may be due to a default limitation of the REST API. This topic has been discussed in other technical forums before, you can check the link below for more insights:
LINK: https://sharepoint.stackexchange.com/questions/146121/cannot-get-value-for-projected-field
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Additionally, I recommend raising this concern in the Microsoft Tech Community, where developers and experienced users may offer deeper technical perspectives and practical suggestions.
Hope my answer will help you
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.