[SOLVED] runContractFunction fail

Hello,

Iā€™m migrating my app to self-hosted parse server and Iā€™m getting an error when calling runContractFunction from SDK v1 in a react app.

The error I get is:

{"message":"Function undefined is not read only, function_name should not be empty"}

But I am sending the name of the function:

Can you help me? Before this worked for me.

Thank you very much

try to also add functionName: "isApprovedForAll" in those options

Yes, it works. Thanks

1 Like