question

rriabinin avatar image
rriabinin asked

IncrementPlayerStatisticVersion doesn't work properly

Hi, I am trying to reset my leaderboard using POST request, calling it inside of cloud script. Everything had been working fine during today, now after attempt to increment leaderboards version prize table doesn't give rewards at all, also I can't see archive logs now 6610-image.png . And logs after execution say that everything is fine with the request. 6619-image.png Please help!

Here is post request by itself var url = "https://{my_title_id}.playfabapi.com/Admin/IncrementPlayerStatisticVersion"; var content = JSON.stringify({ CustomTags: {}, StatisticName: "TournamentTest" }); var headers = { 'X-SecretKey': "{my_secret_key}", }; try { var response = http.request(url, "POST", content, "application/json", headers); log.info(response);

         server.SetTitleData({
             "Key": "TournamentData",
             "Value": JSON.stringify({})
         });
     }
     catch(errorMessage)
     {
         log.debug(errorMessage);
     }

And also after trying to delete leaderboard that I was to trying to increment I am receiving this error StatisticUpdateInProgress : StatisticUpdateInProgress

Leaderboards and Statistics
image.png (38.6 KiB)
image.png (21.7 KiB)
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

·
Infer Wang avatar image
Infer Wang answered

Sorry for the inconvenience. Currently, there is an outage for our async job which will affect leaderboard resets. Our team are still working on it, we’ll keep you posted on any updates. Thanks for your understanding and patience.

10 |1200

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

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.