Hi -
This one's super tiny, and it was the result of an error on my part, but the error message sent me in the wrong direction. The values for UpdatePlayerStatistic are required to be integers -- I was incorrectly passing a floating point value for one of my stats.
{ "PlayFabId":"B951337287FA7DDA", "Statistics":[ {"StatisticName":"game.time","Value":22.785000133514405} ] }
Response:
{ "code": 400, "status": "BadRequest", "error": "InvalidParams", "errorCode": 1000, "errorMessage": "Invalid input parameters", "errorDetails": { "StatisticName": [ "The StatisticName field is required." ] } }
You can see the error is pointing to the StatisticName being incorrect, but it's the Value that's incorrect here. Super minor, but I thought it might be helpful to post anyway.
Cheers,
-Courtland