Hi there,
I am currently learning how to use Playfab with Unity and I am facing and issue. I am trying to call a simple cloud script from my client using :
PlayFabClientAPI.ExecuteCloudScript(new ExecuteCloudScriptRequest() { FunctionName = "myFunction", FunctionParameter = new { Data= _data}, GeneratePlayStreamEvent = true, }, OnServerCallSuccess, OnServerCallFailure);
But I am always getting this error :
Error: /Client/ExecuteCloudScript: Missing or invalid X-SecretKey HTTP header
I tried to do the same call using the Try it button on the ExecuteCloudScript documentation page and I am having the same result.
The strange thing is that this call works well in my client and with the Try it button and seems to also need X-Authentication :
UpdateUserData
Any idea why I am facing this issue with CloudScript ?
Thanks a lot.