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日 19: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.
0/9000