Hi All,
I cloned the dex tutorial from github, I get the following error message when I execute the swap.
So it comes after enter the tokens, the price and gas fees are display. The execution doesn’t work.
Any ideas?
Thanks!
POST https://k15kzgmv9jic.usemoralis.com:2053/server/functions/oneInch_swap 400
dispatch @ moralis.js:26280
ajax @ moralis.js:26287
(anonymous) @ moralis.js:26394
Promise.then (async)
request @ moralis.js:26388
run @ moralis.js:458
run @ moralis.js:384
(anonymous) @ moralis.js:6615
tryCatch @ moralis.js:74788
invoke @ moralis.js:75019
(anonymous) @ moralis.js:74844
asyncGeneratorStep @ moralis.js:30969
_next @ moralis.js:30991
(anonymous) @ moralis.js:30998
Wrapper @ moralis.js:57965
(anonymous) @ moralis.js:30987
(anonymous) @ moralis.js:6659
doSwap @ main.js:125
trySwap @ main.js:117
main.js:120 Error: [object Object]
at handleError (moralis.js:26416:17)