Laucian Posted January 18, 2017 Report Posted January 18, 2017 (edited) Lately, I've been having this error when i try to send a trade, but it doesnt happend always, only one or twice a day for example.Why does this happen? A piece of my code: var trade = offers.createOffer(steamid); trade.addTheirItems(pooluser); trade.setToken(token); trade.send(function (err, status){ if (err) { console.log(err); } else { console.log("Offer sent"); console.log(status); } }); Edited January 18, 2017 by Laucian Quote
Dr. McKay Posted January 18, 2017 Report Posted January 18, 2017 That means that your session has expired, and you need to login again. Quote
Laucian Posted January 18, 2017 Author Report Posted January 18, 2017 So, how i can check if session has expired before i send a trade? Quote
Dr. McKay Posted January 18, 2017 Report Posted January 18, 2017 You shouldn't need to. Try to send the trade. If your session has expired, relog and then send it again. 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.