question

Mark Whitfield avatar image
Mark Whitfield asked

login failedSteam API rejected request as unauthorized due to invalid title Application ID or Publisher Key

Using Unity and getting a failed login when calling PlayFabClientAPI.LoginWithSteam with error:

login failedSteam API rejected request as unauthorized due to invalid title Application ID or Publisher Key

I created the api key using my developer account and this link

https://steamcommunity.com/dev/apikey

Then on playfab I put in both the steam app id and the api key:

6723-playfab.jpg

Then in the unity project steam_appid.txt I also put the app id:

6710-playfab2.jpg

unity 2019.4.30f1, Steamworks sdk 1.53

Is there anything I'm missing here?

apissdks
playfab.jpg (84.1 KiB)
playfab2.jpg (15.3 KiB)
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

·
Mark Whitfield avatar image
Mark Whitfield answered

ok think this is solved now. this link is wrong: https://steamcommunity.com/dev/apikey

thats not actually the api key you want, but rather follow these instructions to get the correct api key

https://partner.steamgames.com/doc/webapi_overview/auth#create_publisher_key

after generating the correct api key it works

1 comment
10 |1200

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

Infer Wang avatar image Infer Wang commented ·

Thanks for your sharing, I’m glad you solved the problem.

0 Likes 0 ·

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.