DoctorMcKay / node-steamcommunity

Interact with various interfaces on Steam Community from Node.js
https://dev.doctormckay.com/forum/8-node-steamcommunity/
MIT License
475 stars 128 forks source link

accept_all_confirmations - may have problems #317

Closed hani9898 closed 1 year ago

hani9898 commented 1 year ago

https://github.com/DoctorMcKay/node-steamcommunity/blob/master/examples/enable_twofactor.js

on this example , it asks for username - password - shared secret - identity secret

i input all of them and get this error:

E:\Projects\steamJS\node-steamcommunity\components\confirmations.js:40 callback(new Error(body.message || body.detail || 'Failed to get confirmation list')); ^

Error: Invalid authenticator at E:\Py Projects\steamJS\node-steamcommunity\components\confirmations.js:40:13 at SteamCommunity. (E:\Py Projects\steamJS\node-steamcommunity\components\confirmations.js:279:3) at Request._callback (E:\Py Projects\steamJS\node-steamcommunity\components\http.js:67:15) at self.callback (E:\Py Projects\steamJS\node-steamcommunity\node_modules\request\request.js:185:22) at Request.emit (node:events:514:28) at Request. (E:\Py Projects\steamJS\node-steamcommunity\node_modules\request\request.js:1154:10) at Request.emit (node:events:514:28) at Gunzip. (E:\Py Projects\steamJS\node-steamcommunity\node_modules\request\request.js:1076:12) at Object.onceWrapper (node:events:628:28) at Gunzip.emit (node:events:514:28)

Node.js v18.17.1

Screenshot 2023-08-28 120731