question

rob avatar image
rob asked

Invalid SteamTicket

I'm getting some reports in a game we just launched of invalid Steam Ticket errors when they try to create an account for the first time:

Steam WebAPI Error: 101 (Invalid Ticket).

This is the first time we've run into this, not had any problems during all our testing. This is during a call to PlayFabClientAPI.LoginWithSteam.

Any ideas?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

That's specifically the error code coming back from Steam. Your best bet to debug this would be to have a look for that error in the Steamworks forums/documentation.

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rob avatar image rob commented ·

Could it be that I'm parsing the ticket wrong? This is what I'm doing:

string ticketString = BitConverter.ToString(ticketBytes).Replace("-", "");

I can't even seem to find where I got that code from but I didn't write it myself.

0 Likes 0 ·
brendan avatar image brendan rob commented ·

Yes, I suspect that's the problem. This thread (https://community.playfab.com/questions/240/205846468-How-do-I-convert-the-Steam-Session-Ticket-for-sign-in-with-PlayFab-.html) has a detailed write-up on how to convert the Steam ticket.

0 Likes 0 ·
rob avatar image rob brendan commented ·

I tried using the code in that thread but I'm still running into it sporadically, some users are reporting it happening every time meaning they can't login :(

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.