So, I am trying to make a feedback system for my website, where people login in their playfab account (working fine) and then they can send a feedback using a cloudscript (execute cloud script API) but I am getting a login error everytime...When the player login in the website, the session ticket gets stored so I can use it later, so in this cloud script function I use it, but I guess the session ticket is invalid? Here is the code: (p.s: I am making it in javascript)
var sendfeedbackrequest = new PlayFabClientSDK.ExecuteCloudScript({"X-Authorization": Ticket, "FunctionName": "sendFeedbackWebsiteNoLogin"}); sendfeedbackrequest.FunctionParameter = { "topic": topico, "message": mensagem, "email": email }; PlayFabClientSDK.ExecuteCloudScript(sendfeedbackrequest, SendFeedbackCallback); The "Ticket" at the header is a variable that gets the stored session ticket value that I mentioned.