+ Start a Discussion
ShinShin 

search() API on FeedComment

Guys,

 

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 :

 

faultcodesf:UNKNOWN_EXCEPTION
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 ?

 

cloudcodercloudcoder

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

 

ShinShin

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.