Spotify - Request failed: gateway timed out (504)

Getting this bug when opening my spotify in DjayPro. Just the error appears in the file window.

I presume this error is happening because I have thousands of Spotify playlists, but we’re DJs… that’s what we do.

  • Device model (e.g. 2021 Macbook Pro M1):
  • Version of operating system (e.g. macOS 15.5 Sequoia):
  • Version of djay (e.g. 5.4.4):
  • Hardware/controllers used (Reloop):

Hi @BrandonBosch, a 504 error often stems from a stalled API session, especially with high playlist counts overwhelming the initial sync. Please try the following:

  1. Force a Spotify re-authentication:
    a. In djay Pro, go to the top menu bar and select Library>Log Out of Spotify.
    b. Then quit djay and reboot your Mac.
    c. Reopen djay, log back into Spotify, and wait a few minutes for the initial sync.
    d. Instead of browsing all playlists, use the search bar in djay’s Spotify window to pull up a specific playlist (e.g., “Hard Techno”).
  2. If that doesn’t work, verify that Spotify’s servers are responding normally outside of djay.
    a. Open the Spotify desktop app or web player (open.spotify.com) and try loading a large playlist or navigating your library.
    b. If it’s slow or errors out, Spotify’s servers might be temporarily overloaded—wait 10-15 minutes and retry in djay.

I hope that helps!

Hello! It’s been more than a week since my last reply. I’m going to consider this topic completed for now so I can focus on others. However, please feel free to respond and we can definitely revisit this. Thanks!

Sorry, I missed your reply. I tried this and it did not work. I’m getting the same error. Gateway timed out 504

Hi @BrandonBosch, do you experience this same issue if accessing Spotify from a web browser or standalone Spotify App on the same device?