But I am only spending the bitcoins that are there on my wallet.
Why is this problem occuring then?
What to do now?
According to electrum, you are trying to spend inputs you don't have the corresponding private key of.
What version of electrum are you using ?
And how did you create the transaction ? What were your actual steps ?
I had recently upgraded to electrum 3.2.3.
I was purchashing a gift card from nafa.in. And then I went to pay for it from my wallet like I usually do, to the address given on the payment page. But when I clicked on send, this error was shown by electrum.