Search code examples
facebook-instant-games

Leaderboard.getEntriesAsync - request failed for >=20 entries


I've noticed that "getEntriesAsync" (API 6.0) method for leaderboards throws "Request failed to be processed" error when I request about >=18 scores from leaderboard with around 300k of players.

In my game, I'm requesting exactly 20 entries, and sometimes it works sometimes not. So, It looks like it depends on "count" parameter and server load. But according to docs, the safe limit for one query should be 100 entries.

Can anyone at Facebook take a look on this issue, please?


Solution

  • I work on Instant Games at Facebook and we discovered this was actually a bug in our code that was mishandling a fringe privacy condition. We have made a change to remove scores for users who you cannot see from a privacy perspective (previously this was causing the entire request to fail).