Ask a Question
Getting Game Stats in MergedMicroservice
about 2 years ago by Eva Ramirez
Hi, I was wondering if it is possible to get game stats (like SESSION_DAYS) in our MergedMicroservice because when I try to do that, it gives me this error:
Exception "UnauthenticatedException": "WSS Error. method=[get] uri=[basic/stats/client/batch?format=stringlist&objectIds=game.private.player.1507990476342285] code=[403] payload=[{"status":403,"service":"stats","error":"NoReadAccess","message":""}]" - "Beamable.Common"
" at Beamable.Common.Promise`1.GetResult() in /Client/client/Packages/com.beamable/Common/Runtime/Promise.cs:line 440
This is the code I am using for trying to get the game stats in the MergedMicroservice:
Dictionary<string, string> stats = await Services.Stats.GetStats("game", "private", "player", id);