Hi! That sounds similar to
https://github.com/spesmilo/electrum/issues/8365Which version of Electrum are you using? Please make sure you are using the latest.
If so, could you please provide
debug logs for when the error occurs. In particular I would like the exception "traceback". That would probably greatly help in reproducing and fixing.
(Feel free to comment on the github issue too. In fact I would notice any replies faster there, and probably reply faster myself.)