Laucian Posted January 18, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 18, 2017 Report Share Posted January 18, 2017 That means that your session has expired, and you need to login again. Quote Link to comment Share on other sites More sharing options...
Laucian Posted January 18, 2017 Author Report Share Posted January 18, 2017 So, how i can check if session has expired before i send a trade? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 18, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
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.