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)

Hi,

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 :-
https://explorer.xinfin.network/txs/0x98ab5a1b778be18c5d9cc5f1bd13edb9ba168d8e74fa6004668075ea770c8978#overview

Looking out for support on this.

Thanks!!

Discussion (4)

Collapse
gzliudan profile image
Daniel Liu • Edited on

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

Collapse
rajshah1609 profile image
Raj Shah

xdcscan.com/txs/0x98ab5a1b778be18c...

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

Collapse
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.

Collapse
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.