Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Confirmation of the trade offer returns null #1143

Open
Rvator666 opened this issue Nov 6, 2018 · 4 comments
Open

Confirmation of the trade offer returns null #1143

Rvator666 opened this issue Nov 6, 2018 · 4 comments

Comments

@Rvator666
Copy link

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 Rvator666 changed the title Confirmation of the trade returns null Confirmation of the trade offer returns null Nov 6, 2018
@Noobgam
Copy link
Contributor

Noobgam commented Nov 7, 2018

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

@Rvator666
Copy link
Author

#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
Copy link
Contributor

Noobgam commented Nov 14, 2018

@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
Copy link

leehark commented Dec 29, 2018

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

#1143 (comment)
@Noobgam Have you solved this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants