/** * Update the current players score * @param args.statName Name of the statistic to update. * @param args.score The score to post * @param context * @returns {*} */ handlers.updatePlayerScore = function (args, context) { var score = args.score; var stat = args.statName; var version = args.version; var request = { PlayFabId: currentPlayerId, Statistics: [{ StatisticName: stat, Value: score }] }; if(version != null){ request.Statistics[0].Version = version; } log.debug(request.Statistics); return server.UpdatePlayerStatistics(request); }; Above is my server code i'm using. Unity side i'm sending along an int for the version. Can someone explain to me why this isn't working?