RPC Error: The specified coin doesn't exist

I have started encountering this RPC response error randomly and I cannot seem to pinpoint it.

It occurs during various calls to contracts when using the Rust SDK.

One user suggested that it may be due to invoking more than one transaction in quick succession (Telegram), but I’ve had it happen to me during only a single transaction.

Also, it occurs during call instances where no funds are being sent, even though the error specifies that a “coin” does not exist.

Error examples:

Response errors; The specified coin(0x2106244c968ea5aeef3aeb6ec49f06de914a94db2e3def5adb1d66d5adba372b0001) doesn't exist
Response errors; The specified coin(0xe89167a1444b4ff029464c0a33954b6cb1dfc0db3a32dfff9c07207d40455f8e0001) doesn't exist
Response errors; The specified coin(0xadeb6f14e4c2232f6eb3ce6a931bfc940663f789afeb4bf1baff14e0ba0831130001) doesn't exist

This issue occurs randomly so if I encounter it, retrying the transaction may succeed after a couple of retries.

I’ve even gotten this error when trying to transfer testnet eth on the Fuel Wallet.

The fuels version used is fuels = “0.66.9” and latest toolchain is also used as well

I encounter this when i’m running txs back to back quickly, i’d imagine it’s on the node side – what i’ve found that solves this as a temp solution is to wait 1 second in between calls

Is this happening on a local test node or testnet or mainnet ?

Could you provide a small repro for this?

This has happened on testnet.

Not sure if I can provide a concrete example in a repo as this tends to be quite random.
I think maybe making a multi-threaded application spam different calls with the same Rust provider would suffice