Hi, im using Lua.
I create the request
local request1 = { Statistics = { StatisticName = "points", Value = 1 } }
but get error
{ --[[0000000002BE2DA0]] error = "InvalidParams", errorCode = 1000, code = 400, status = "BadRequest", errorDetails = { --[[0000000002BE3540]] Statistics = { --[[0000000002BE37B0]] 1 = "The Statistics field is required." } }, errorMessage = "Invalid input parameters"}
for gettin the leaderboard I use
local request= { StatisticName = "points", StartPosition =0 }
and works well.
I dont know what to do, Can anybody help me?