ArchiSteamFarm is unable to generate Web API Keys anymore
nolddor opened this issue · comments
Checklist
- I read and understood ASF's Contributing guidelines
- I also read Setting-up and FAQ, I don't need help, this is a bug report
- I don't own more than 10 accounts in total
- I'm not using custom plugins
- This is not a question
- This is not a technical issue
- This is not ASF-ui problem
ASF version
Latest stable release
ASF variant
linux-x64
Bug description
It looks like today Valve roll out a new change so in order to create a Web API Key, a mobile confirmation is needed.
Refers to https://twitter.com/zerguet/status/1730531743575208386
Expected behavior
ArchiSteamFarm must be able to auto-generate a Web API Key when not present as it is a mandatory requirement for ASF to query some internal APIs
Actual behavior
An error is thrown on the logs:
2023-12-01 18:59:44|ArchiSteamFarm-728438|ERROR|BotName|ResolveApiKey() Received unknown value for State, please report this: NotRegisteredYet
Steps to reproduce
- Navigate to https://steamcommunity.com/dev/apikey en delete any existing Web API (if any)
- Start up ArchiSteamFarm from scratch or do a
!restart
- You will see the error within the logs.
Possible reason/solution
A recent change at Valve side as per https://twitter.com/zerguet/status/1730531743575208386 that requires source code rework to auto-confirm the Web API Key generation, refers to:
Can you help us with this bug report?
Somehow, I can test and offer feedback, but can't code
Full log.txt recorded during reproducing the problem
N/A
Global ASF.json config file
N/A
BotName.json config of all affected bot instances
N/A
Additional info
![](https://private-user-images.githubusercontent.com/1280022/287347611-315aeea6-e169-42a0-bd14-b341379abb7d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE0ODAxMzQsIm5iZiI6MTcxMTQ3OTgzNCwicGF0aCI6Ii8xMjgwMDIyLzI4NzM0NzYxMS0zMTVhZWVhNi1lMTY5LTQyYTAtYmQxNC1iMzQxMzc5YWJiN2QucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMjZUMTkwMzU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2E4YTllYjg1NDIzYTllMWQ5M2U4YzMwODBiNmI3YjU4YjVmMjY2YWMwYmM5MjQ4YmE5OThjNzM1MTI2NzQ1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.j9pyTBX8YCj_t3lStjSoleq9O4HDXUOlSXUZBWHRmu4)
Thanks for report, I've addressed this with a warning and automatic registration (if possible) 🏆