CloudScriptAzureFunctionsHTTPRequestError - /CloudScript/ExecuteFunction: Invocation of cloud script function RequestCharacter failed with HTTP status BadRequest and response body {"httpCode":400,"httpStatus":"BadRequest","error":1001,"errorMessage":"User not found","errorDetails":null,"requestId":"1-64c0afd5-262c3f2f001dda78742d117e","retryAfterSeconds":null}
After lots of trial and error this message is quite persistent, and I'm beginning to believe "User not found" is more in relation to the character itself not existing in playfab's database than the user itself.
Why? Because at this point I've hardcoded my requesting EntityId obtained via login result in both server azure function and client unity, and set type to title_player_account- the user exists.
In the above post it is mentioned for Server API:
but fails to mention what exactly that means.. Here there is an example how to grant a character, but again this terminology is not explained well at all. https://community.playfab.com/questions/40687/could-someone-just-post-cloud-script-showing-how-t.html What is a character to playfab? without pointing me to this document: https://learn.microsoft.com/en-us/rest/api/playfab/server/characters?view=playfab-rest Could it be explained, what exactly is a character if it's not being sourced from the economy tab as an item?You just grant the character to the player.