Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by A A · Feb 11, 2020 at 11:33 PM · unity3ddocumentationwindows

Where can I get all Error details of PlayFab Errors?

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

Comment
A A

People who like this

1 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

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.

Comment
A A

People who like this

1 Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image A A · Feb 12, 2020 at 06:33 PM 1
Share

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

avatar image A A · Feb 12, 2020 at 08:38 PM 1
Share

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 :)

avatar image Citrus Yan A A · Feb 13, 2020 at 03:28 AM 0
Share

Glad that page you mentioned helped. You have a good day too :)

avatar image

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!

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jsphdnvn · Jan 06, 2021 at 04:22 AM 0
Share

Sorry, only meant to say it once!

avatar image Citrus Yan jsphdnvn · Jan 06, 2021 at 04:47 AM 0
Share

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!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    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

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges