I installed Spotify successfully but it will not let me log in (error 409). I ran sudo ufw default allow but it does not help. Any idea
You need to have a Spotify Premium account. Perhaps you have installed the Linux preview client? It only supports Premium users. If you don't have a Premium account and don't want one, then you'll need to install wine and run the Windows version.