SteamDatabase / BrowserExtension

💻 SteamDB's extension for Steam websites
https://steamdb.info/extension/
BSD 3-Clause "New" or "Revised" License
749 stars 57 forks source link

401 Unauthorized when adding free license #145

Closed pinguluk closed 11 months ago

pinguluk commented 11 months ago

Describe the bug

Tried to activate these packages https://steamdb.info/freepackages/

image

then I tried to add the games' licenses individually by clicking "Add free license", image

and I've inspected the network request and Steam responds with 401 Unauthorized image

Browser name and version

Chrome 115.0.5790.110

xPaw commented 11 months ago

Click preview in the response, what does Steam actually say?

pinguluk commented 11 months ago

Click preview in the response, what does Steam actually say?

null

xPaw commented 11 months ago

Did you try re-logging into the store?

pinguluk commented 11 months ago

Did you try re-logging into the store?

Yes, I've tried incognito too. It used to work before

xPaw commented 11 months ago

Do you see steamLoginSecure cookie sent in that request?

Try manually visiting https://checkout.steampowered.com/checkout/addfreelicense you should see your avatar top right because you're logged in.

pinguluk commented 11 months ago

Do you see steamLoginSecure cookie sent in that request?

Try manually visiting https://checkout.steampowered.com/checkout/addfreelicense you should see your avatar top right because you're logged in.

Weird, yesterday didn't work and I've tried again just now and now it works. Maybe Steam did some changes or had some issues regarding claiming free licenses and they fixed in the meantime? (The issue can be closed)

xPaw commented 11 months ago

What exactly did you do that fixed it?

pinguluk commented 11 months ago

What exactly did you do that fixed it?

Absolutely nothing, just tried to claim the license(s) again and they worked without any error

xPaw commented 11 months ago

If anyone else is having issues:

What to try:

Debugging the extension requests:

Until there is some issue that I can repro myself, I can't fix it. It works fine for plenty of people.