Hello everyone,
how can I get all details what all error messages of PlayFabError are meaning. For example when username is empty and the error is InvalidParams. Because I want to know when exactly an error is called and why? Is there anything in the documentation? I couldn't find it.
Thank you already in advance
Answer by Citrus Yan · Feb 12, 2020 at 08:37 AM
Error details are generated by PlayFab Service that can help to troubleshoot the errors returned by your API requests, which are specific to particular situations, hence, there is no documentation that lists all the error details. However, we do have a documentation on GenericErrorCodes, which lists all possible values for PlayFab Error Codes, you can take a look if you are interested.
From my perspective, I would suggest you refer to the API reference of the API that you are working on, and, combining it with the error details returned by PlayFab to better troubleshoot the errors of your API requests.
Thank you for your answer. I asked because not every error message is clear to me. For example I would never think that "InvalidParams" means that the Inputs are empty. And I want to convert these Error messages from PlayFab to an own text (in C# with switch-case), but I want the text to be precise. So I can exactly tell the player what he did wrong. If I write Invalid Parameters, he doesn't actually now what he/ she did wrong.
Again, thank you very much for your answer. If someone has any reference were the PlayFab errors are explained, please tell me!
Thank you
Hey @Citrus Yan There is actually a page: https://docs.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript/global-api-method-error-codes
Thank you anyways for your answer and have a nice day :)
Glad that page you mentioned helped. You have a good day too :)
Answer by jsphdnvn · Jan 06, 2021 at 04:20 AM
Hey @Citrus Yan I still can't seem to find the error details. I'm trying to set up authentication for my unity game and there are some errors I need to handle that aren't listed in the docs. I have a switch statement with some of them, but there are a lot more I'd like to catch. Any help would be much appreciated!
,@Citrus Yan I still can't seem to find a page with the error details. The link provided does not work and I am trying to figure out the error codes for user authentication. I have the switch statement given in the Docs, but there are more errors that I need to catch. I would really appreciate some more info on this!
Hi @jsphdnvn, what are the errors exactly? And, could you please post a new thread in this forum so that we can better track & work with your issue? Thanks!
How to log into original account on reinstall or new device? 1 Answer
Login best practices for Desktop platforms 1 Answer
Playfab multiplayer server can't connect to Epic Online Services (SSL error) 9 Answers
Google Play Games: Silent Login 1 Answer
Using single variable increment for every user. unity3d 1 Answer