When the same client who created the shared data group tries to update data this error message shows up. How can I authorize the client?
I have created a shared data group on players the first login with his Playfab ID.
- I thought the reason might be there are no members in the shared data group, so I added one. But still, the same error shows up.
- I tried both with cloud script and client API but it's showing the same :(
Following is the Client API I have used to update the shared data group:
PlayFabClientAPI.UpdateSharedGroupData(new UpdateSharedGroupDataRequest { SharedGroupId= PlayFabUserId, Data = new Dictionary<string, string>() { {"BattleMatchData",PlayFab.PluginManager.GetPlugin<ISerializerPlugin>(PluginContract.PlayFab_Serializer).SerializeObject(myPlayerDatalist) } }, Permission = UserDataPermission.Public }, result => Debug.Log("Data Updated"), error => { Debug.Log(error.GenerateErrorReport()); });