function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

search() API on FeedComment



In Winter '11, it is announced that search() API on FeedPost and FeedComment is introduced. When I'm using search API using SOSL on FeedComment I encountered an error which tells following message.


SOSL in search API :



FIND {*chat*} RETURNING FeedComment(CommentBody)


Error Message :


faultstringUNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 451082378-1095 (-1079906384)


It only occurs when I logged in as a standard user. If I logged in as an administrator it does not fail.

Is there anyone who have encountered similar problem before ?



You can not query FeedComment directly. You will need to do it via a *Feed object such as AccountFeed.



Yes, but I mean search() API, not query().


By the way, they told me the problem was fixed already and now I found I can do search on FeedComment object.