Hi all!
I am able to generate trades from my "bot" account using `offer.addMyItems(items)` as long as there aren't more than 1 of each item. The moment I trie to add a second item I face issues. I am combining and updating the amount. Here are two console logs:
[[[allAssetIds]]] [
'4472701497518213337',
'4472701497518213337',
'4472701497518213337',
'4472701497518213337',
'4472701497519256933'
]
[[[FORMATEED TEMS]]] [
{
appid: 252490,
contextid: '2',
assetid: '4472701497518213337',
amount: 4
},
{
appid: 252490,
contextid: '2',
assetid: '4472701497519256933',
amount: 1
}
]
The first is the raw items I need to add, and the second is my "formatted" items. However, I get the "Error: There was an error sending your trade offer. Please try again later. (26)" error. It only happens if there is more than 1 of an item, so I think I'm doing something wrong rather than something wrong with the library.
Thanks so much!