Jump to content
McKay Development

Recommended Posts

Posted

Hello!

Currently, I'm trying to create a new Steam Web API Key with the steam-community package.

When I try to execute the code below

community.login(loginOptions, (err) => {
    community.createWebApiKey({
        domain: 'localhost'
    }, function(err, result) {
        console.log(err, result);
    })
});

I will receive an Undefined Error

Error: Error undefined
    at exports.eresultError (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/steamcommunity/components/helpers.js:57:12)
    at SteamCommunity.<anonymous> (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/steamcommunity/components/webapi.js:147:22)
    at Request._callback (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/steamcommunity/components/http.js:67:15)
    at self.callback (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/request/request.js:185:22)
    at Request.emit (node:events:520:28)
    at Request.<anonymous> (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:520:28)
    at Gunzip.<anonymous> (/Users/dkuijs/Documents/Steam Trading Bot/steam-trading-bot/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:634:28)
    at Gunzip.emit (node:events:520:28) {
  eresult: undefined
} undefined

Does someone know what the error could be?

Posted

Already found out that my account is limited and this error is related to that. Need to deposit 5 dollars in order to create an API key.

What's the best solution for adding the funds to my account with 2FA enabled?

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...