How to call cloud function in the react frontend without hook

Moralis.Cloud.run is not working in my side

what happens when it doesnโ€™t work?

I donโ€™t get the error now.
If I have an error again, I will contact you.

You can make direct requests if needed. What was the error that you got before?