goerli server has some errors in cloud code, you can see them here:
https://nrnhzxloybjl.usemoralis.com:2083/apps/moralisDashboard/logs/error
I used this code with your goerli server and I didn’t have errors
options = { address: "0x58de9aabcaeec0f69883c94318810ad79cc6a44f", chain: "polygon", disable_total: false, limit: 1};
await Moralis.Web3API.token.getAllTokenIds(options)