I am doing a call to SetTitleData from Python (playfab-0.0.200303). It invokes the failure callback with "PlayFabHTTP Recieved an empty response" but I can see the Key showing up properly on the PlayFab side in the UI. So the call is a success. Am I doing something wrong?
Code looks like this:
PlayFabSettings.TitleId = "..." PlayFabSettings.DeveloperSecretKey = "..." request = { "Key": "user-key-name", "Value": "{\"foo\": 1}" } def callback(success, failure): if success: # handle success else: # handle failure PlayFabServerAPI.SetTitleData(request, callback)
The vanilla version of the SDK installed with pip is even missing an import for me.
Traceback (most recent call last): File "C:\Users\path\venv\lib\site-packages\playfab\PlayFabHTTP.py", line 75, in DoPost emptyResponseError.ErrorCode = PlayFabErrorCode.Unknown; NameError: name 'PlayFabErrorCode' is not defined