Skip to main content
SFDC1 Admin 님이 #Apex에 질문했습니다
Hi there.

I have APEX code that is querying FeedComments. In my client's logs they are recieving the following error: 

System.QueryException: Implementation restriction: directly querying FeedComment is only supported for admin users in version 23.0 and higher.

I checked the API version for the client, it is 43. Also the client enabled "View all Data" for the System Admin group. (Which was used to install the App). 

I am wondering if there is any other cause for this error.
답변 1개
  1. 2018년 6월 14일 오후 7:43

    FeedComment object can be directly queried only by users who have "View All Data" permission on their profiles.

     You may want to try changing the version of the apex class to 22.0 or below, if it is okay.