will downgrading node mess up any other configurations?
and is there no way to update cloudfunctions manually in the moralis dashboard anymore?
You can use nvm. No updating cloud code using the Moralis admin dashboard isnโt available anymore.
Thanks man - did the trick!
nevermind - errors still present however the cloudsync was successful
Moralis.settings.setAPIRateLimit({
anonymous:1000, authenticated:2000, windowMs:30000
})
ncaught (in promise) Error: This Moralis Server is rate-limited because of the plan restrictions. See the details about the current rate and throttle limits: {}
at Function.<anonymous> (_app-b4e47f3274e452f6.js:25:1071260)
at l (_app-b4e47f3274e452f6.js:32:130896)
at Generator._invoke (_app-b4e47f3274e452f6.js:32:132208)
at Generator.throw (_app-b4e47f3274e452f6.js:32:131321)
at e (_app-b4e47f3274e452f6.js:1:3397)
at i (_app-b4e47f3274e452f6.js:1:3618)
(anonymous) @ _app-b4e47f3274e452f6.js:25
l @ _app-b4e47f3274e452f6.js:32
(anonymous) @ _app-b4e47f3274e452f6.js:32
(anonymous) @ _app-b4e47f3274e452f6.js:32
e @ _app-b4e47f3274e452f6.js:1
i @ _app-b4e47f3274e452f6.js:1
Promise.then (async)
d @ 16-550693dfc84641c5.js:18
h @ 16-550693dfc84641c5.js:18
Promise.then (async)
d @ 16-550693dfc84641c5.js:18
h @ 16-550693dfc84641c5.js:18
(anonymous) @ 16-550693dfc84641c5.js:18
(anonymous) @ 16-550693dfc84641c5.js:18
A.P @ [id]-7be86a1cadb40cf8.js:1
(anonymous) @ [id]-7be86a1cadb40cf8.js:1
g6 @ framework-47eb1420121fdf53.js:11
ig @ framework-47eb1420121fdf53.js:11
h0 @ framework-47eb1420121fdf53.js:11
eo @ framework-47eb1420121fdf53.js:11
ie @ framework-47eb1420121fdf53.js:11
id @ framework-47eb1420121fdf53.js:11
hX @ framework-47eb1420121fdf53.js:11
x @ framework-47eb1420121fdf53.js:35
E @ framework-47eb1420121fdf53.js:35
If you check your server logs, the error is different, it is an API rate limit error. You can read about it here.
I get you. However this is just occuring on loading one page by myself. How is a business plan experiencing restrictions on a 3 page pagination? And I have added delay which I assume serves the same purpose as the cursor
I am willing to upgrade my plan as well just need direction on what rate limit plan will suffice
in fact i am calling from Moralis.Web3API and not http
How is a business plan experiencing restrictions on a 3 page pagination?
It is hard to say without more info - it may be an issue with your code. Check any code that calls the Moralis API - you can do some logging. If youโre using a frontend app with your Moralis server, you can check network requests in your browserโs developer tools.
If you do need to upgrade limits higher than the Business plan (100), you can email [email protected] and the team will assist you further.
Try to add a delay of 1 second, just to see if the error is no longer present.
You can also add some logging for when an api function is called to be sure that the delay works as expected.
Okay thanks @cryptokid & @alex - my error seems to have been with regard to my filters instead of simply adding an array of token addresses in the initial call - this seems to have solved it by limiting the calls. Thank you