TTP/1.1 400 Bad Request Get Native Balance

Greetings. I use Unity WebGL with Moralis. Yesterday, getNativeBalance function just broke.
Here is logs from my server

TTP/1.1 400 Bad Request error: Failed running cloud function getNativeBalance for user d6fyqJqJZc with:
[dm-moralis] [2023-02-26 00:02:12]   Input: {}
[dm-moralis] [2023-02-26 00:02:12]   Error: {"message":"[C0005] Invalid address provided","code":141} {"error":{"code":141,"message":"[C0005] Invalid address provided"},"functionName":"getNativeBalance","params":{},"user":"d6fyqJqJZc"}
[dm-moralis] [2023-02-26 00:02:12] error: [C0005] Invalid address provided {"code":141,"stack":"Error: [C0005] Invalid address provided\n    at /workspace/build/cloud/generated/evmApi.js:118:15\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}
1 Like

Hi @honeycake

The error says the address parameter was not passed to the function.
Can you try again by passing the address param value?

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.