Opensea Clone youtube Tutorial getAllTokenIds 400 Error


i followed the instructions, set up a polygon main Server. I minted some Nft which are shown on the Boilerplate as ERC721. I also created a Contract:

do I need to setup this contract adress in the “Sync and Watch Contract Events” ? And also in the boilerplate config as marketadress?

i did that and get these errors:

On pageload:

Chrome - Console

xhr.js:210 POST 400

​when i follow that link it says

{“code”:141,“error”:“Invalid hex number”}

In the moralis logs:

2022-01-27T08:37:46.213Z - Error: Invalid hex number
at fetch (/moralis-server/lib/cloud-code/plugins/helpers/apiUtils.js:165:26)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-01-27T08:37:46.211Z - Failed running cloud function getAllTokenIds for user undefined with:
Input: {“chain”:“0x1”,“address”:“explore”,“limit”:10}
Error: {“message”:“Invalid hex number”,“code”:141}

When I try to list or aproove one of the shown NFT i got an error modal popup:
“There was a problem with setting approval”

Can someone help me ot?
thanks in advance!

1 Like