Developers Forum for XinFin XDC Network

Meghana Jibin Nambiar
Meghana Jibin Nambiar

Posted on • Updated on

[WIP] Transactions Failed with the error (json: cannot unmarshal string into Go value)


We are experiencing transaction failures when attempting to withdraw our PLI tokens from the Plugin nodes. We have tried using all available RPCs on the network and subsequently switched to the Ankr protocol RPC.

However, our transactions continue to fail with the following error message: "Reason: invalid argument 0: json: cannot unmarshal string into Go value of type ethapi.CallArgs".

XDCPay Wallet

Transaction hash

The link to the transaction can be found here :-

Looking out for support on this.


Discussion (4)

gzliudan profile image
Daniel Liu • Edited on

This is not a new problem, it has been around for a long time.

rajshah1609 profile image
Raj Shah

Here you can check the actual reason for the transaction failing.

meghana98 profile image
Meghana Jibin Nambiar Author

Thank you for confirming as well as sharing the link with us, will go ahead and review the same.

juklee0ira profile image
JukLee0ira • Edited on

Could you please share your contract code (or the simplest version that still causes the error)? and tell me how to trigger this error
It is an uncommon error, and if we can reproduce it, we may be able to find a way to fix it.