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.
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.
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.