Cloud functions Err/ Cant run it

Hi, I am just starting to learn about cloud functions and now have some problems with connection. Everything is great I thought because at the Cloud functions were added a code which says that server is working now ( and VS says that folder is listening now ) but my project still throws me an error I am confused. Thanks for Your answers =)

I think that you have to add that code in cloud functions code:

in admin interface, for a server, you will see a button with “cloud functions”

Cloud Function -

It still give me an error "invalid name of the function - nameOfTheCloudFunction " - but it is the same name like in the cloud

there is a typo. Add missing ) to the end

So the 19th line should be:


Thanks ))

  • but it’s still invalid ((

and i got this error also(logger):

Error: Invalid hex number
at fetch (/moralis-server/lib/cloud-code/plugins/convenience/web3Api.js:128:11)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)

I think that this error can happen when a parameter was not provided to a web3api function, like an addresss