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 /
  • API and SDK Questions /
avatar image
Question by jhjwns1 · Oct 17, 2018 at 06:02 PM ·

"Failed: /Client/LoginWithSteam: Steam WebAPI error: 0 ()"-I have a question.

Hello~!


I would like to know how to register a Steam account in Playfab.

Failed: /Client/LoginWithSteam: Steam WebAPI error: 0 ()An error has occurred.

https://api.playfab.com/docs/tutorials/landing-players/getstarted-steam-unity I am following.

What I did not do in the guide is Familiarity with Login Basics & Best Practices guide.

Is it because I have not followed Login Basics & Best Practices?

If that's the problem, give me a guide.

Please let me know if you have a video or site that makes it easy for you to apply LoginWithSteam.


The error code is

Failed: /Client/LoginWithSteam: Steam WebAPI error: 0 () UnityEngine.Debug:Log(Object) SteamScript:OnFailed(PlayFabError) (at Assets/SteamScript.cs:57) PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer) (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:251) PlayFab.Internal.<Post>c__Iterator1:MoveNext() (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:180) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)


Thank you for your attention.
Have a nice day today.

Comment

People who like this

0 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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Jay Zuo · Oct 18, 2018 at 03:29 AM

Login Basics & Best Practices gives you some suggestions and best practices about how to implement the login system. Even you are not familiar with it, you should still be able to to log into PlayFab using Steam after following the steps in https://api.playfab.com/docs/tutorials/landing-players/getstarted-steam-unity.

For your error, I'd suggest you check this post: https://community.playfab.com/questions/3812/loginwithsteam-steam-webapi-error-0.html. It's the same error as yours. And to solve this issue, please make sure:

1. Convert the ticket into a string of hexadecimal numbers. You can use GetSteamAuthTicket method to do this.

2. Use the right Web API Key. See https://community.playfab.com/comments/23498/view.html.

Comment

People who like this

0 Show 1 · 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 jhjwns1 · Jan 12, 2019 at 09:59 PM 0
Share

Thank you for your kindly reply.

There are two "Web API Keys". I had to put a key other than

"https://steamcommunity.com/dev/apikey" into the playfab Add-on Steam Key registration window.(no)

"https://partner.steamgames.com/home ->Click My Apps ->User & Permissions ->Manage Users ->User click ->Group click ->Create Web API on screen" Copy the generated key and enter it into playfab-> Add-ons-> Steam-> Steam Web API Key.(Yes)

I have entered a different key in the meantime.My mistake.

You have successfully imported your Steam user information and successfully signed up for playfab. thank you.

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

    2 People are following this question.

    avatar image avatar image

    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