Asteur Posted December 8, 2019 Report Posted December 8, 2019 I keep getting this error when trying to send an offer. { Error: There was an error sending your trade offer. Please try again later. ( 26) at Object.exports.makeAnError (C:\Users\User\Desktop\Folder\Folder\node_modules\steam-tradeoffer-manager\lib\helpers.js:17:12) at SteamCommunity.manager._community.httpRequestPost (C:\Users\User\Desktop\Folder\Folder\node_modules\steam-tradeoffer-manager\lib\classes\ TradeOffer.js:349:12) at Request._callback (C:\Users\User\Desktop\Folder\Folder\node_modules\steamcommunity\components\http.js:67:15) at Request.self.callback (C:\Users\User\Desktop\Folder\Folder\node_modules\request\request.js:185:22) at Request.emit (events.js:198:13) at Request.<anonymous> (C:\Users\User\Desktop\Folder\Folder\node_modules\request\request.js:1161:10) at Request.emit (events.js:198:13) at Gunzip.<anonymous> (C:\Users\User\Desktop\Folder\Folder\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:286:20) at Gunzip.emit (events.js:203:15) eresult: 26 } Related Code: manager.getOffer(Number(messagesplit[1]), function(err, offer){ if(err){ console.log(err) return; } offerSend = manager.createOffer(offer.partner.getSteamID64()); offerItems = offer.itemsToReceive; itemAmount = offerSend.addMyItems(offerItems) console.log("A request has been initiated to return items to " + offerSend.partner.getSteamID64() + "\nFor item amount: " + itemAmount + "\nCode: " + offer.message + "\nTime: " + Date.now()) offerSend.setMessage("Returning " + itemAmount + " items to user.") offerSend.send(function(err, status) { if (err) { console.log(err) console.log("Return request from " + offerSend.partner.getSteamID64() + " has failed.") client.chatMessage(steamid, 'Notification | An error occured while sending the offer. | The issue has been reported.'); client.chatMessage(config.ownerID, 'https://steamcommunity.com/profiles/' + steamid + ' could not get their items returned.'); botMakingOffer = false return; }else{ client.chatMessage(steamid, 'Notification | Dome Bot is making a trade offer.'); } }); }); 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.