Hi all, I have managed to setup registration / login to playfab through unreal blueprints, but I cannot seem to submit player statistics to the leaderboard I created.
I have (for testing) turned on "Allow client to post player statistics" in the playfab settings. I have run the hello world cloudscript no trouble and it shows on the website that the user logged in successfully.
I Created a leaderboard
and created a blueprint that creates a Json and attempts to update player statisitc "ArcadeScore"
The Request seems to go through ok
LogPlayFab: Request: { "Statistics": [ { "ArcadeScore": 5000 } ] }
But it gets refused with this error
LogPlayFab: Response : {"code":400,"status":"BadRequest","error":"InvalidParams","errorCode":1000,"errorMessage":"Invalid input parameters","errorDetails":{"Statistics[0].StatisticName":["The StatisticName field is required."]}} LogBlueprintUserMessages: [WBP_StartMEnuv3_C_157] InvalidParams Invalid input parameters
I am new to this area, but I cant understand where I enter a "StatisticName Field" as asked for by the final error message
Statistics[0].StatisticName: The StatisticName field is required.
Any idea where I have gone wrong?
Thanks
,Hi, I have managed to setup registration / login to playfab through unreal blueprints, but I cannot seem to submit player statistics to the leaderboard I created.
I have (for testing) turned on "Allow client to post player statistics" in the playfab settings. I have run the hello world cloudscript no trouble and it shows on the website that the user logged in successfully.
I Created a leaderboard
and created a blueprint that creates a Json and attempts to update player statisitc "ArcadeScore"
The Request seems to go through ok
LogPlayFab: Request: { "Statistics": [ { "ArcadeScore": 5000 } ] }
But it gets refused with this error
LogPlayFab: Response : {"code":400,"status":"BadRequest","error":"InvalidParams","errorCode":1000,"errorMessage":"Invalid input parameters","errorDetails":{"Statistics[0].StatisticName":["The StatisticName field is required."]}} LogBlueprintUserMessages: [WBP_StartMEnuv3_C_157] InvalidParams Invalid input parameters
I am new to this area, but I cant understand where I enter a "StatisticName Field" as asked for by the final error message
Statistics[0].StatisticName: The StatisticName field is required.
Any idea where I have gone wrong?
Thanks