SteamBot icon indicating copy to clipboard operation
SteamBot copied to clipboard

Confirmation of the trade offer returns null

Open Rvator666 opened this issue 6 years ago • 4 comments

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?

Rvator666 avatar Nov 06 '18 22:11 Rvator666

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

Noobgam avatar Nov 07 '18 12:11 Noobgam

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

Rvator666 avatar Nov 07 '18 21:11 Rvator666

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

Noobgam avatar Nov 14 '18 20:11 Noobgam

@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?

leehark avatar Dec 29 '18 03:12 leehark