Philipp15b / go-steam

Steam's protocol in Go to allow automation of different actions on the Steam network without running an actual Steam client. Includes APIs for friends, chatting, trading, trade offers and TF2 crafting.
https://pkg.go.dev/github.com/Philipp15b/go-steam/v3
Other
390 stars 129 forks source link

Unable to send trade, Error (26) #47

Closed PanicIsReal closed 8 years ago

PanicIsReal commented 9 years ago

Getting error 26 when trying to create/send a trade offer (according to the enums this means revoked which isn't much information).

This is my params:

map[sessionid:[fom3oafmo] partner:[76561198102055159] tradeoffermessage:["hi"] json_tradeoffer:[{"me":{"assets":[{"appid":295110,"contextid":1,"amount":1,"assetid":169262651814793732}],"currency":[],"ready":false},"newversion":true,"them":{"assets":[],"currency":[],"ready":false},"version":"3"}] trade_offer_create_params:[{}] serverid:[1] captcha:[]]

{"strError":"There was an error sending your trade offer.  Please try again later. (26)"}
500
2015/09/10 23:27:42 create error: status code not 200

I know the assetids are right because they exist in the inventory: http://steamcommunity.com/id/sandboxx/inventory/json/295110/1 if I CTRL+F and find each AssetID individually.

I'm not sure why I'm getting this error 26

Philipp15b commented 8 years ago

This should be fixed by #59, hopefully.