Jump to content
McKay Development

trade manager is not accepting cookies from steam community


sherazi

Recommended Posts

i used steam community package to login and after login using the community.login function and i passed the cookies to steam trade offer manager to resume that session but it says session is not logged in but i pass the cookies after login to steam community.here is the code:

 community.login(logOnOptions, async(err, sessionID, cookies ) => {
            if (err) {
                return next({ code: err.status, message: err.message });
            }
            console.log('Logged into Steam successfully!');
                console.log('Web session established!');
                botCookies=cookies;
                console.log('Session ID:', sessionID);
                console.log('cookies :', cookies);
               
                manager.setCookies(cookies, function(err) {
                    if (err) {
                        console.log(err.message, "session error");
                        // res.send("session error"); // Fatal error since we couldn't get our API key
                        return;
                    }
 

i got this error from yesterday.it was working fine before

Link to comment
Share on other sites

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