Created By
Abir Ahmed
03/22/2012 1:05pm

Subscribers (3)

BugsMultiquery to retrieve posts from stream results in error 1

  • Status: Fixed
  • Priority: None
  • Updated: August 29, 2012 at 12:08pm
Latest response from Facebook
Jeff Bowen
This issue was resolved in April. Thanks for your patience.
Status changed to Fixed
Charles Wu
Thanks for the report. We are looking into this.
Status changed to Assigned
Since yesterday, we have been receiving significant amounts of error 1's when running this specific multiquery:

Once a user receives the first error 1, they are stuck in this state and will continue to get error 1's every time this query is run. One user experienced this issue for over 6 hours until the user stopped receiving error 1's

API Call:
FQL multiquery

Request/Response payload
{
"posts": "SELECT post_id,viewer_id,app_id,source_id,updated_time,created_time,attribution,actor_id,target_id,message,description,app_data,action_links,comments,likes,privacy,filter_key,permalink,tagged_ids,impressions,description_tags,message_tags,attachment,place,with_tags FROM stream WHERE filter_key='nf' AND is_hidden=0 LIMIT 25",
"profiles": " SELECT id,url,name,pic_square,type FROM profile WHERE id IN (SELECT target_id,actor_id,tagged_ids,with_tags FROM #posts)",
"places": " SELECT page_id,name,description,latitude,longitude,checkin_count,display_subtext FROM place WHERE page_id IN ( SELECT place FROM #posts )",
"albums": " SELECT object_id,aid,cover_pid,cover_object_id,owner,name,created,modified,description,location,link,edit_link,size,photo_count,video_count,visible,type,can_upload,modified_major,comment_info,like_info FROM album WHERE aid IN (SELECT attachment.fb_object_id FROM #posts WHERE attachment.fb_object_type='album') OR aid IN (SELECT aid FROM photo WHERE pid IN (SELECT attachment.fb_object_id FROM #posts WHERE attachment.fb_object_type='photo'))"
}

response:
{\"error_code\":1,\"error_msg\":\"An unknown error occured\"...
1 person can reproduce this issue by following these steps
Repro