Issue with null values in swap pairs (affecting Swopus, XPort app & KleverScan)

Hello Klever team,

We are experiencing a recurring issue across all our services as well as on KleverScan when using the KleverWallet browser. The error message is:

Cannot read properties of null (reading ‘toString’)

This occurs when attempting to load certain swap pairs (e.g., KLV-DGKO). It seems that the API sometimes returns null values instead of proper token/pair data, which leads to failures both in our frontend and in KleverScan itself.

Could you please check this on your side? It looks like the issue is not related to our updates but to the data returned by the Klever API.

Thank you in advance for your support.

1 Like

It seems it comes within sdk while broadcasting transaction. Stack goes to:

null is not an object (evaluating ‘g.data.txsHashes’)

Hello @Sovkosov_Ignat , the Klever Team is on it. Have you tried to perform the same action on KleverScan by desktop browser?

BTW, what end point are you calling on our API that it’s returning null value?

1 Like

As I researched the problem, I see there’s 2 similar issues:

null is not an object (evaluating 'g.data.txsHashes') comes from iphone (4 errors) and Cannot read properties of null (reading 'toString') comes from android (3 errors). I can trace that they both are happening after web.broadcastTransactions() method

1 Like

Hello @shymelon and @Sovkosov_Ignat.
We apologize for the inconvenience.
We are looking into it.

@shymelon Could you give me more details about how it works on iOS? The parameters used, the network, transaction type (deposit, claim, etc.).

Hello, sorry for misinformation, after careful examination i see that null is not an object (evaluating 'g.data.txsHashes') comes from our part as unhandled exception from failed web.broadcastTransaction method as an error stack trace, please ignore that.

2 Likes

Nevertheless, this issue is still relevant and we hope for a prompt resolution. We are receiving numerous reports from the community about being unable to perform transactions on Swopus, XPort, KleverScan, and Rarecanvas through the KleverWallet mobile browser (Android)

Hello @Sovkosov_Ignat we’re on it since reported by you. We know the impact and the team is focused to solve this situation as soon as possible.

1 Like

Hello @Sovkosov_Ignat We have released a new version of Klever Wallet. Please update the Klever Wallet app on Google Play.

1 Like