Hugo Posted July 3, 2023 Report Posted July 3, 2023 (edited) Hey, I've been using some of your libraries that are really nice to work with. I have an automatic trade validation system, where the trade is sent with the steam-tradeoffer-manager lib, then confirmed (2FA) with the steamcommunity lib like this : this.SteamUser.community.acceptConfirmationForObject(process.env.TRADE_IDENT_SEC, offer.id, (err) => { ... }) It has always been smoothly working, but a few weeks ago, it began to throw 404s (through the "err" parameter), see the screenshot with the logs. Error: HTTP error 404 SteamCommunity._checkHttpError (/home/sys_/node_modules/steamcommunity/components/http.js:108:9) Request._callback (/home/sys_/node_modules/steamcommunity/components/http.js:50:61) ... And Sentry is reporting this (with hidden values, as I'm not sure what is secret & what isn't), resulting in a 404 error. GET https://steamcommunity.com/mobileconf/conf?p=android%{SOMETHING-LIKE-UUID}&a=765611{0000000}&k={SOME-RANDOM-CHARS}%3D&t=168800000&m=android&tag=conf [404] I tried to check on this forum, GitHub, ... it was mentioned that there had been changes with Steam 2FA, but I'm unusure about what needs to be done, etc. So, I'm asking if you know what's wrong (maybe on my side? steam?), if you have any idea on how to avoid this error? Thanks! Edited July 3, 2023 by Hugo Quote
Dr. McKay Posted July 3, 2023 Report Posted July 3, 2023 npm update https://github.com/DoctorMcKay/node-steamcommunity/releases/tag/v3.45.1 Quote
Hugo Posted July 4, 2023 Author Report Posted July 4, 2023 Thanks, works better with this version! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.