Jump to content
McKay Development

Error: LoggedInElsewhere


Recommended Posts

We have on account for steam bot, we used that account in our local server as well as stagging server and getting this error  Error: LoggedInElsewhere,

can you please suggest, is there any method available for forceful login, or

how can avoid this error 





Link to comment
Share on other sites

No, Im just logged in using our bot

class SteamBot {
  constructor(logOnOptions) {
    this.client = new SteamUser();
    this.community = new SteamCommunity();
    this.manager = new TradeOfferManager({
      steam: this.client,
      community: this.community,
      language: "en",
  logOn(logOnOptions) {
    this.client.on("loggedOn", () => {
      console.log("Logged into Steam");
      this.client.setPersona(SteamUser.EPersonaState.Online, "Bot-name");
    this.client.on("webSession", (sessionid, cookies) => {
const bot = new SteamBot({
  accountName: process.env.STEAM_USERNAME,
  password: process.env.STEAM_PASSWORD,
  twoFactorCode: SteamTotp.generateAuthCode(process.env.SHARE_SECRET),
  rememberPassword: true,
Link to comment
Share on other sites

  • 1 month 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.

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.

  • Create New...