#SpotifyException: http status: 403

7 messages · Page 1 of 1 (latest)

agile atlas
#

Hi, I'm trying to download my playlist but I keep getting this exception error. I have updated my client id and client secret in config file and switch back and forth redirect URLs using port 9900 and 8800 but nothing works. Spotdl current version is 4.4.3 and yt-dlp is 2026.02.21

civic jacinthBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@agile atlas

agile atlas
#

I also tried using --config but it also didn't work. I'm using Linux 6.19.3-2-cachyos kernel
currently

#

Trying to use the .linux file downloaded from repo

Using cached web app. To update use the `--force-update-gui` flag.               
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_print_keybinding
Files are stored in current directory to save them to temporary directory disable the `web_use_output_dir` option  
Starting web server                          
INFO:     Started server process [43894]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8800 (Press CTRL+C to quit)
INFO:     ::1:35504 - "GET / HTTP/1.1" 200 OK
INFO:     ::1:35504 - "GET /assets/index-CqL-qAH-.js HTTP/1.1" 200 OK
INFO:     ::1:35508 - "GET /assets/index-DRB2_ZPb.css HTTP/1.1" 200 OK
INFO:     ::1:35504 - "GET /api/version HTTP/1.1" 200 OK
ERROR:    Client c1bad979-bd25-46f8-8eea-fb54e87335ee not found
INFO:     ('::1', 35524) - "WebSocket /api/ws?client_id=c1bad979-bd25-46f8-8eea-fb54e87335ee" [accepted]
INFO:     Client c1bad979-bd25-46f8-8eea-fb54e87335ee connected
INFO:     ::1:35504 - "GET /api/settings?client_id=c1bad979-bd25-46f8-8eea-fb54e87335ee HTTP/1.1" 404 Not Found
INFO:     connection open
HTTP Error for GET to https://api.spotify.com/v1/playlists/7MA5So5LEYTH5Byl49w0p4/tracks with Params: {'limit': 100, 'offset': 0, 'fields': None, 'market': None, 'additional_types': 'track,episode'} returned 403 due to Forbidden
INFO:     ::1:41150 - "GET /api/url?url=https:%2F%2Fopen.spotify.com%2Fplaylist%2F7MA5So5LEYTH5Byl49w0p4%3Fsi%3Daa7f2a180cf446af HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "spotipy/client.py", line 275, in _internal_call
  File "requests/models.py", line 1024, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.spotify.com/v1/playlists/7MA5So5LEYTH5Byl49w0p4/tracks?limit=100&offset=0&additional_types=track%2Cepisode

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
  File "uvicorn/middleware/proxy_headers.py", line 84, in __call__
  File "fastapi/applications.py", line 292, in __call__
  File "starlette/applications.py", line 122, in __call__
  File "starlette/middleware/errors.py", line 184, in __call__
  File "starlette/middleware/errors.py", line 162, in __call__
  File "starlette/middleware/cors.py", line 83, in __call__
  File "starlette/middleware/exceptions.py", line 79, in __call__
  File "starlette/middleware/exceptions.py", line 68, in __call__
  File "fastapi/middleware/asyncexitstack.py", line 20, in __call__
  File "fastapi/middleware/asyncexitstack.py", line 17, in __call__
  File "starlette/routing.py", line 718, in __call__
  File "starlette/routing.py", line 276, in handle
  File "starlette/routing.py", line 66, in app
  File "fastapi/routing.py", line 273, in app
  File "fastapi/routing.py", line 192, in run_endpoint_function
  File "starlette/concurrency.py", line 41, in run_in_threadpool
  File "anyio/to_thread.py", line 33, in run_sync
  File "anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
  File "anyio/_backends/_asyncio.py", line 807, in run
  File "spotdl/utils/web.py", line 321, in songs_from_url
  File "spotdl/types/song.py", line 306, in from_url
  File "spotdl/types/playlist.py", line 72, in get_metadata
  File "spotipy/client.py", line 727, in playlist_items
  File "spotdl/utils/spotify.py", line 195, in _get
  File "spotipy/client.py", line 297, in _internal_call
spotipy.exceptions.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/playlists/7MA5So5LEYTH5Byl49w0p4/tracks?limit=100&offset=0&additional_types=track%2Cepisode:
 Forbidden, reason: None```
dire parcel
agile atlas
#

tks it works now