seems fine, can you call a cloud function after that or make an web3api call, in the same function?
It didnāt work, is there a possibility that the problem is an older version from node/npm?
I donāt think that could be the issue, what version of Moralis SDK you use there?
you can find that out with : console.log(Moralis.CoreManager.get("VERSION"))
that is not latest version, but it should still work
same code works somewhere else, for that initMoralis function?
Well the code works on my PC, but just not on the server
what could be the difference?
Could it be something like that itās a testnet server or something in the settings in the dashboard else I donāt have an idea, it has been really frustrating that it doesnāt work haha.
exactly same code works on your PC and not on another one?
I havenāt tested it on an other pc, do you want me to try that?
with exact server url and app id works on your PC?
how do you send the code on the server, is the code identical?
With the exact server url and app id yes, Iāve zipped the code -> uploaded to the server -> unzipped the code
maybe you can try to run a simple js script on the server manually to see how it works, it looks like there is some kind of server running there in js when it doesnāt work
Sorry what do you exactly mean with this?
from the initial image, it looks like something more complex than a script with 10 lines of code that runs
So Iāve made like a simple 1 function test code and it returned to owner of the nft inserted (this is the right id) but a bit later it gave the error again, so is it maybe like an error that itās trying to connect a lot which causes it to error?
it looks like a different type of issue now, maybe you can add more debugging with console.log to see how many times it is called
Well itās weird because itās only fired once atm and it prints like something infront of the āMoralis.startā and it takes like 5-10 seconds but in the mean time it can do the functions.
I donāt know exactly, I donāt have enough information
try to add some debugging, run a simpler script