Jump to content
McKay Development

TypeError: Cannot read property 'isValid' of undefined


Verize

Recommended Posts

When creating a new trade offer I get following error:
 

TypeError: Cannot read property 'isValid' of undefined
    at new TradeOffer (C:\Users\JP\SteamBots\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:19:19)
    at TradeOfferManager.createOffer (C:\Users\JP\SteamBots\node_modules\steam-tradeoffer-manager\lib\index.js:386:14)
    at SteamManager.sendSmallPotWinnings (C:\Users\JP\SteamBots\lib\SteamManager.js:327:29)
    at SmallPot.getRoundById (C:\Users\JP\SteamBots\server.js:704:11)
    at model.Query.<anonymous> (C:\Users\JP\SteamBots\node_modules\mongoose\lib\model.js:3919:16)
    at C:\Users\JP\SteamBots\node_modules\kareem\index.js:273:21
    at C:\Users\JP\SteamBots\node_modules\kareem\index.js:131:16
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

The only thing I am doing is this:
let offer = manager.createOffer(tradelink);

 

What exactly is happening here? Thanks in advance

Edited by Verize
Link to comment
Share on other sites

  • 6 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...