Hello, recently I've been working on adding Views to my arcade game that display the current Google Play Games Services leaderboard rank of the user for each level in the level menu. The problem I keep running into is that 80-90% of the requests I make using loadCurrentPlayerLeaderboardScore() fail with the following messages:
01-06 22:25:44.535: E/Volley(2075): [220] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/<censored leaderboard IDs etc> 01-06 22:25:44.540: E/LeaderboardAgent(2075): Error getting scores for <more IDs> 01-06 22:25:44.541: W/LeaderboardAgent(2075): {"errors":[{"domain":"usageLimits","reason":"rateLimitExceeded","message":"Rate Limit Exceeded"}],"code":403} At first I assumed the problem was the frequency of requests, as I was originally trying to fetch scores for all 20 leaderboards at once. I found out from the Dev Console that the app is limited to 5 requests / user / second, and thus decided to create a separate Thread for slowly updating the ranks, staggering the requests so that currently I'm making one request every five seconds. This has not had a noticeable effect on the success rate of the requests: pretty much the same amount of them are still returning the same error. Even if I test without any looping calls at all, f.ex. just a request each time a level is completed, I still get the error a fair bit of the time. Does anyone have experience of dealing with this error or any tips on how I could prevent it? At this point there is no way I'm actually exceeding the rate limit stated by Google, so there must be something else going wrong. I know I am not making any additonal requests; I've been tracking them very carefully while testing and the errors also show up with the same intervals as the requests are supposed to happen. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/5f7350a7-c969-44f4-8c24-8aa6ae141801%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

