[SOLVED] Parse local server & Moralis.Web3API issue

hello i did mount the parse local server now i wanna use it on my html project but im getting this error on client when i try use web3API

let response = await Moralis.Web3API.token.getAllTokenIds({ ...OPTIONS, cursor });

image

login works good

Can you try to add some logging on the server or to check what parameters are sent when calling that function? Like the appId if is the expected one

You are using latest version of Moralis v1 sdk?

im importing moralis like this on my index.html

the functions usually works fine with my dashboard server

This should be the right version for Moralis v1 sdk.
Did you check the app id?

You can also make a change server side to pre set the app id for all cloud functions. There is an example in another similar thread.

if i use
let response = await Moralis.Web3API.token.getAllTokenIds
on parse-server-migration-react-client boilerplate works wellโ€ฆ

i cant find the similar thread :frowning:

my app id:
image

That is the app id as a number or as a string?

using string works ! thanks thanks

1 Like