Skip to content
Appcyclopedia
Spotify guide

What Spotify error codes like 4, 18 and auth:74 mean

By

Elias Brandt writes about marketing, email and analytics tools for Appcyclopedia, working on a ThinkPad X1 Carbon Gen 10 and a Galaxy S25.

  • Windows
  • macOS
  • iOS
  • Android

Short answer

Error code 4 means the Spotify app thinks you are offline. Error code 18 means the installer cannot copy files because Spotify is still running. auth:74 and other auth codes come with "A firewall may be blocking Spotify" and mean the app cannot reach Spotify through your network. "Page not available" and "Something went wrong" are app problems that a restart or update usually clears.

The catch: the firewall message is not always about a firewall. A proxy setting, a VPN or a wrong account region can trigger it too.

Below: each code and message, the device-side causes, and why the web player is a quick test.

How to fix a Spotify error code, in order

To fix a Spotify error code, restart and update the app first, then check the network settings it uses, then reinstall it cleanly. Each step is bigger than the last, so stop once Spotify plays.

  1. Restart Spotify completely

    Quit Spotify, not just its window. On Windows, check Task Manager for Spotify processes and end them; on a Mac, use Quit Spotify from the menu bar. Open it again.

  2. Update the app

    Install the latest version from the Microsoft Store, the Mac App Store, the App Store, Google Play or spotify.com. Outdated versions show "Something went wrong" more often.

  3. Set the proxy to No proxy

    In the desktop app, open Settings, scroll to Proxy and choose No proxy. Restart Spotify. This clears many auth codes.

  4. Allow Spotify through the firewall and turn off the VPN

    In Windows Security, Firewall & network protection, Allow an app through firewall, tick Spotify for private and public networks. Pause any VPN and third-party antivirus while you test.

  5. Reinstall cleanly

    Uninstall Spotify, restart the computer, then install it again. If the installer stops with error 18, see the table below first. Downloaded music and podcasts need downloading again afterwards.

A common case: Spotify on a work laptop says "A firewall may be blocking Spotify (error code: auth:74)" while the web player works. Step 3 shows a proxy is set, and switching it to No proxy lets the app sign in.

The web player is a quick test: if open.spotify.com works and the app does not, the problem is the app or its settings, not your account.

More about Spotify

Music, podcast and audiobook streaming, free with ads or paid with Premium.

Spotify still showing an error?

Error code 4 although the internet works

On Windows, Spotify follows Windows' own connection check. If the network icon shows "No internet access", fix that first: restart the router, update the network driver and flush the DNS cache.

Error code 18 every time you install

Another program holds Spotify's files. End every Spotify process in Task Manager, close apps such as Steam that may hold them, delete the Spotify folder in %AppData%, restart and install again.

Playback problems after travelling abroad

Your account country may not match where you are. Check the country in your account settings.

Spotify error codes and messages

Code or messageWhat it meansWhat to do
Error code 4“No internet connection detected”: the app thinks you are offlineCheck the connection, proxy and DNS
Error code 18The installer cannot copy files because they are in useEnd Spotify processes, delete the old folder, reinstall
auth:74, auth:3, auth:16, auth:22, 30“A firewall may be blocking Spotify”: the app cannot reach SpotifyNo proxy, allow it in the firewall, pause the VPN
Page not availableThe app could not load a pageRestart and update the app
Something went wrongA general app errorRestart, update, then reinstall

Codes 4 and the auth codes are both about the network, which is why the proxy and firewall steps clear so many of them.

When the problem is on the device, not the network

If Spotify keeps stopping on one phone but works elsewhere, the device is the cause. Update the operating system, close apps you are not using, and clear Spotify’s cache in its Storage settings. If storage is almost full, downloads and playback fail without a clear message.

Why the web player helps

The web player at open.spotify.com uses your browser, not the app, so it skips the app’s cache, proxy and installation. If it works, your account and Spotify are fine, and the fix is in the app.

Start small, finish with a clean install

Restart, update, check the proxy and the firewall, and only then reinstall. Most Spotify codes clear before the last step.

Spotify errors: what people ask

What is Spotify error code 4?
Spotify cannot detect an internet connection. Check the connection, the proxy setting and, on Windows, whether Windows itself says you are offline.
What does auth:74 mean on Spotify?
The app cannot reach Spotify through your network. A firewall, proxy or VPN is the usual cause.
Will reinstalling delete my playlists?
No. Playlists live in your account. Only downloaded songs and podcasts need downloading again.

Share this guide

Was this guide helpful?

Updated

Next

spotifyerrorsdesktop