I'm just starting out with PlayFab on Unity and what I gather is that it's important to check for invalid/expired tickets on any call to the API.
There does seem to be a lack of definitive information though. For example, in the API docs for GetUserData there is only one possible error code, and that's InvalidParams, but as I understand the ticket related error codes can be returned too? So why aren't they given?
I downloaded your sample in the hope of finding out about ticket error codes but that doesn't handle them at all.
This forum post says that error code InvalidSessionTicket is returned but also to check for NotAuthenticated. I see there's also an error code for InvalidTicket, can this be returned? It just seems a little vague about what exactly the error codes can be for any particular call. Why is that?
Also, is they a way for me to invalidate the ticket so I can test my flow and actually see what error codes are coming back?