I'm getting an error when calling WritePlayerEvent, looks like the body parameter can't handle too much data but I'm not sure, the documentation doesn't say anything and the logs don't help either.
Logs:
{ "FunctionResult": null, "Logs": [ { "Level": "Error", "Message": "PlayFab API request error", "Data": [ [ [] ], [ [ [ [] ], [ [] ], [ [ [ [ [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ], [ [ [] ], [ [] ] ] ] ], [ [] ] ] ] ] ], [ [] ], [ [ [ [] ], [ [] ], [ [] ], [ [] ], [ [] ], [ [] ], [ [] ] ] ] ] } ], "ExecutionTimeSeconds": 0.8950821999999999, "MemoryConsumedBytes": 615064, "APIRequestsIssued": 7, "HttpRequestsIssued": 0, "Error": { "Error": "CloudScriptAPIRequestError", "Message": "The script called a PlayFab API, which returned an error. See the Error logs for details.", "StackTrace": "Error\n at Object.server_request (Script:180:24)\n at Object.server.WritePlayerEvent (Script:629:73)\n at Object.handlers.PurchaseItems (B7CD-main.js:1017:12)\n at handlers.PurchaseItems2 (B7CD-main.js:956:21)\n at Object.invokeFunction (Script:116:33)" } }