Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.34k stars 910 forks source link

Confirmation of the trade offer returns null #1143

Open Rvator666 opened 6 years ago

Rvator666 commented 6 years ago

The last time "Session.Accept (Trade Offer Id)" began to return Null. For a long time the bot worked, and recently broke. What could possibly be the matter?

Noobgam commented 6 years ago

1140

Unsure what's causing this, but it's been bugging me for a really long time.

Rvator666 commented 6 years ago

1140

Unsure what's causing this, but it's been bugging me for a really long time.

Did you manage to solve this problem? Can you recommend something. It is impossible to understand the reason.

Noobgam commented 6 years ago

@Rvator666 sorry for the delayed response. The only thing I can recommend is to relogin. As far as I have seen, null reponse is always accompanied by 401 Unauthorized which could potentially mean that your cookies are invalid. Although cookies should be fine, since

A. SteamWeb.VerifyCookies() returns true for me even in cases when trade/accept returns null. B. Other trades are fine even when this specific one is not.

Full relogin is far from the best solution, but it works for me, and unfortunately I was unable to find any other way of accepting this offer without reloginning.

leehark commented 5 years ago

@Rvator666 sorry for the delayed response. The only thing I can recommend is to relogin. As far as I have seen, null reponse is always accompanied by 401 Unauthorized which could potentially mean that your cookies are invalid. Although cookies should be fine, since

A. SteamWeb.VerifyCookies() returns true for me even in cases when trade/accept returns null. B. Other trades are fine even when this specific one is not.

Full relogin is far from the best solution, but it works for me, and unfortunately I was unable to find any other way of accepting this offer without reloginning.

https://github.com/Jessecar96/SteamBot/issues/1143#issuecomment-438813874 @Noobgam Have you solved this problem?