Spotify is not uninstalled

I try to uninstall spotify with the command “sudo snap remove spotify”, but I get the following message "error: cannot perform the following tasks:

  • Save data of snap “spotify” in automatic snapshot set # 18 (cannot create archive: tar: -: Only 2048 of 10240 bytes (and 1 more) were written) "
    I hope you can help me. Thank you

When you remove a snap it attempts to take a snapshot of the data within that snap. You can see this with snap saved and remove them with snap forget. Something clearly went wrong saving the snapshot for spotify here. If you just want to remove it and move on, you can snap remove spotify --purge which will skip making the snapshot.