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.