Part 15 - Error when putting items for sale


i’m having difficulties debugging the error that I get in the browser when I put items for sale from my items. Could someone help me debug this, plase?
Server version 0.0.222

Uncaught (in promise) TypeError: Cannot read property 'length' of undefined
    at h.formatParam (index.js:224)
    at index.js:100
    at (<anonymous>)
    at h.encodeParameters (index.js:94)
    at index.js:439
    at (<anonymous>)
    at Object.d._encodeMethodABI (index.js:438)
    at Object.d._processExecuteArguments (index.js:701)
    at Object.d._executeMethod (index.js:720)
    at ensureMarketplaceIsApproved (main.js:339)
h.formatParam @ index.js:224
(anonymous) @ index.js:100
h.encodeParameters @ index.js:94
(anonymous) @ index.js:439
d._encodeMethodABI @ index.js:438
d._processExecuteArguments @ index.js:701
d._executeMethod @ index.js:720
ensureMarketplaceIsApproved @ main.js:339
async function (async)
userItem.getElementsByTagName.onclick @ main.js:281

Here is the index.js file where the error occurs

1 Like

Hey @vasja, hope you are ok

Please check this guide in order to solve some of the common issues, if your solution is not there, please provide the code in the way that is provided in the guide

Carlos Z


thanks for trying to help.
I wasn’t able to find the bug yet…I’ll keep trying…


Hi @vasja vasja.
I am having the same error now. Do you have any solution yet?