Jump to content


Photo

Invite user to a steam Group

node.js node-steamcommunity

  • Please log in to reply
1 reply to this topic

#1 good_live

good_live

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 16 February 2017 - 02:16 PM

Hey guys,

 

im getting always a 400 Error when trying to invite a User to a group.

 

Is there some way to debug it or am i doing something wrong?

var SteamCommunity = require('steamcommunity');
var SteamID = require('SteamID');
var community = new SteamCommunity();

community.login({
    "accountName": "*****",
    "password": "*****",
    "authCode": null,
    "twoFactorCode": null,
    "captcha": null
}, function (err, sessionID, cookies, steamguard) {
    if(!err)
        console.log("Sucessfull :)");
    
    community.inviteUserToGroup("***", new SteamID("****"), function (err) {
        if(err)
            console.log("ERROR: :/ " + err.message);
    });
})

Output:

Sucessfull :)
ERROR: :/ HTTP error 400

Thanks for your help.


Edited by good_live, 17 February 2017 - 05:01 AM.


#2 good_live

good_live

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 17 February 2017 - 05:01 AM

Found the problem: The Account was limited.







Also tagged with one or more of these keywords: node.js, node-steamcommunity

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users