Spotify Connection Terminated

error: Failed to install com.spotify.Client: While downloading Connection terminated unexpectedly

I got this error while trying to install Spotify. I got the same error while trying to install it through the Software Store. Any help?

Well deb files aren’t going to work for you, at all. There’s no way to install them.

I suggest using the flathub version. If there are any download errors, try again, they may have a service issue at and best to tell them

flatpak install flathub com.spotify.Client

Use the flatpak like @ahkok has suggested, it works very well. I updated about 30 minutes ago without any error, it may just was a temporary problem.