Ubuntu software center on 20.04 kept throwing an error today and wasn't working. To resolve simply kill the process in your system monitor.
- Open system monitor and select the processes tab
- Search for snap-store and then hit end process
- Re-open Ubuntu Software Center.
I'm not sure why this was an issue but app installations and updates began working after I killed the process.