#[SOLVED] How to use account.get() in functions?

14 messages · Page 1 of 1 (latest)

oak whale
#

I am trying to get user data from cloud functions but is not working, there are no logs and no errors.

#

I tried account.get() with jwt passed via payload same problem.

#

getting this response.

stone lagoon
oak whale
#

showing {"error":"[object Undefined]"}

stone lagoon
oak whale
#

error: toString(error)

stone lagoon
oak whale
#

Ah!

#

{"error":"Error: getaddrinfo ENOTFOUND hostname"}

stone lagoon
oak whale
#

Thanks.

fathom badger
#

It was your issue solved @oak whale ?

oak whale
#

yes.