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 . And logs after execution say that everything is fine with the request. 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