Hello again, I'm trying to update the user data value using the code available here and I'm having the following error:
Data: The value for key city was not valid JSON.
The code is:
PlayFabClientAPI.UpdateUserData(new UpdateUserDataRequest() { Data = new Dictionary<string, string>() { { "city", "barcelona" }, } }, result => Debug.Log("Successfully updated user city"), error => { Debug.Log("Got error setting user data city"); Debug.Log(error.GenerateErrorReport()); }); }
Am I missing something?
Thanks a lot.