question

Daxay avatar image
Daxay asked

Leaderboard reset duration limit

What is the minimum wait time to reset leaderboard?

As currently, sometimes i got error when duration is 10 minutes.

Leaderboards and Statisticslimits
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Which API did you use and what’s the error you got? Is it the IncrementPlayerStatisticVersion API and the “StatisticVersionIncrementRateExceeded” error?

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Daxay avatar image Daxay commented ·

Oh sorry, my mistake.Reset duration is 5 minutes.

Yes, Its IncrementPlayerStatisticVersion API.
I got error in following format, i am using AXIOS to call API.

{"code":400,"status":"BadRequest","error":"StatisticVersionIncrementRateExceeded","errorCode":1204,"errorMessage":"The previous increment of the statistic version was too recent"}

I just want to know the reset duration limit of leaderboard.
So while testing i can make sure that it do not exceed this limit.
0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Daxay commented ·

Yes, the minimum interval is about 5 minutes, and, it may vary depending on the workload of the backend server. Therefore, for testing, you may wait a while and request again if you ever encounter such error.

0 Likes 0 ·
Daxay avatar image Daxay Citrus Yan commented ·

Ok, thanks :)
Currently, i am using 10 minutes duration and not getting error.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.