Hi! I'm trying to remove some keys from an specific user via UpdateUserData, and everytime I do it, the internal server error pops up.
Could this be a bug from the SDK?
Here is some sample code (I'm using the last updated Unity SDK):
UpdateUserDataRequest request = new UpdateUserDataRequest();
request.Data = new Dictionary<string, string>();
request.KeysToRemove = new List<string>();
for (int o = 0; o < 30; o++)
{
if (PlayerPrefs.HasKey(GlobalConstants.TUTORIAL_STATUS_ + o))
request.Data.Add(GlobalConstants.TUTORIAL_STATUS_ + o, PlayerPrefs.GetString(GlobalConstants.TUTORIAL_STATUS_ + o));
else
request.KeysToRemove.Add(GlobalConstants.TUTORIAL_STATUS_ + o);
}
PlayFabClientAPI.UpdateUserData(request, OnUserUpdateData, OnUpdateCloudPrefsError);