kryo Posted April 3, 2016 Report Share Posted April 3, 2016 (edited) Got this little gem today from TradeOffer#getReceivedItems { "id": "5688498100", "owner": "...", "classid": "1618444825", "instanceid": "188530170", "name": "", "pos": 1, "appid": 730, "contextid": "2", "amount": 1, "is_stackable": false, "assetid": "5688498100", "fraudwarnings": [ ], "descriptions": [ ], "owner_descriptions": [ ], "actions": [ ], "owner_actions": [ ], "tags": [ ], "tradable": false, "marketable": false, "commodity": false, "market_tradable_restriction": 0, "market_marketable_restriction": 0 }Has anyone seen this before? How can we identify that the item is malformed?I'm just going to check for a missing market_hash_name since that's all I need, hopefully there is a way to know for sure. Edited April 3, 2016 by kryo Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 3, 2016 Report Share Posted April 3, 2016 Some items can be missing a market_hash_name under normal circumstances (e.g. some H1Z1 items). If name is empty that's a pretty dead giveaway. Quote Link to comment Share on other sites More sharing options...
kryo Posted April 3, 2016 Author Report Share Posted April 3, 2016 (edited) This was a CS:GO item. I just had to re-check the receipt at a later date to get the full item. If it's as simple as checking the item name then this is something we could identify in getReceivedItems, right? Edited April 3, 2016 by kryo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.