Open 37hwk92AK opened 4 months ago
Seems like you have provided wrong credentials to the app. It is not necessary to add them. As I've seen in the report, you have provided your email (or any random) and a password. For your security I have deleted it from here. Disable the option "Use Spotify Credentials" or take a look at the Spotify developers console
Thanks for the fast response. I disabled the option use spotify credentials but still got an error:
App version: 1.4.1 (1040100) Device information: Android 13 (API 33) Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi] spotDL version: null
URL: https://open.spotify.com/track/1iwNiyhFK2hT4rWpei7fHd?si=ofeTepz1QwiJxugQ2fqLbw
Error executing command: [/data/app/qWvHCXfCK7KdTfad9HD66w==/com.bobbyesp.spowlo-C32IdM5o-GFL2MCBhe9PAw==/lib/arm64/libpython.bin.so, /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl, download, https://open.spotify.com/track/1iwNiyhFK2hT4rWpei7fHd, --output, /storage/emulated/0/Download/Spowlo/{list-name}/, --bitrate, disable, --no-cache, --ffmpeg, /data/app/qWvHCXfCK7KdTfad9HD66w==/com.bobbyesp.spowlo-C32IdM5o-GFL2MCBhe9PAw==/lib/arm64/libffmpeg.so], exit code: 1, stderr:
stdout: ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │
│ r/lib/python3.8/runpy.py:192 in _run_module_as_main │
│ │
│ 191 │ │ sys.argv[0] = mod_spec.origin │
│ ❱ 192 │ return _run_code(code, main_globals, None, │
│ 193 │ │ │ │ │ "main", mod_spec) │
│ │
│ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │
│ r/lib/python3.8/runpy.py:85 in _run_code │
│ │
│ 84 │ │ │ │ │ spec = mod_spec) │
│ ❱ 85 │ exec(code, run_globals) │
│ 86 │ return run_globals │
│ │
│ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/ma │
│ in.py:9 in
Mmm seems to be a problem with the Python package or your internet. Please, try to reinstall the app
Checklist
Describe the bug
I paste the spotify link, click on download, get this error message
To Reproduce
No response
Error reports
App version: 1.4.1 (1040100) Device information: Android 13 (API 33) Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi] spotDL version: null
URL: https://open.spotify.com/track/1iwNiyhFK2hT4rWpei7fHd?si=ofeTepz1QwiJxugQ2fqLbw Error executing command: [/data/app/
qWvHCXfCK7KdTfad9HD66w==/com.bobbyesp.spowlo-C32IdM5o-GFL2MCBhe9PAw==/lib/arm64/libpython.bin.so, /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl, download, https://open.spotify.com/track/1iwNiyhFK2hT4rWpei7fHd, --output, /storage/emulated/0/Download/Spowlo/{list-name}/, --bitrate, disable, --no-cache, --ffmpeg, /data/app/qWvHCXfCK7KdTfad9HD66w==/com.bobbyesp.spowlo-C32IdM5o-GFL2MCBhe9PAw==/lib/arm64/libffmpeg.so], exit code: 1, stderr:stdout: Processing query: https://open.spotify.com/track/1iwNiyhFK2hT4rWpei7fHd
An error occurred
╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/oauth2.py:265 in _request_access_token │ │ │ │ 262 │ │ │ │ proxies=self.proxies, │ │ 263 │ │ │ │ timeout=self.requests_timeout, │ │ 264 │ │ │ ) │ │ ❱ 265 │ │ │ response.raise_for_status() │ │ 266 │ │ │ token_info = response.json() │ │ 267 │ │ │ return token_info │ │ 268 │ │ except requests.exceptions.HTTPError as http_error: │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/requests/models.py:1021 in raise_for_status │ │ │ │ 1018 │ │ │ ) │ │ 1019 │ │ │ │ 1020 │ │ if http_error_msg: │ │ ❱ 1021 │ │ │ raise HTTPError(http_error_msg, response=self) │ │ 1022 │ │ │ 1023 │ def close(self): │ │ 1024 │ │ """Releases the connection back to the pool. Once this method │ ╰──────────────────────────────────────────────────────────────────────────────╯ HTTPError: 400 Client Error: Bad Request for url:
https://accounts.spotify.com/api/token
During handling of the above exception, another exception occurred:
╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spot │ │ dl/console/entry_point.py:124 in console_entry_point │ │ │ │ [Errno 20] Not a directory: │ │ '/data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spo │ │ tdl/console/entry_point.py' │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spot │ │ dl/console/download.py:25 in download │ │ │ │ [Errno 20] Not a directory: │ │ '/data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spo │ │ tdl/console/download.py' │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spot │ │ dl/utils/search.py:221 in get_simple_songs │ │ │ │ [Errno 20] Not a directory: │ │ '/data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spo │ │ tdl/utils/search.py' │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spot │ │ dl/types/song.py:80 in from_url │ │ │ │ [Errno 20] Not a directory: │ │ '/data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spo │ │ tdl/types/song.py' │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/client.py:345 in track │ │ │ │ 342 │ │ """ │ │ 343 │ │ │ │ 344 │ │ trid = self._get_id("track", track_id) │ │ ❱ 345 │ │ return self._get("tracks/" + trid, market=market) │ │ 346 │ │ │ 347 │ def tracks(self, tracks, market=None): │ │ 348 │ │ """ returns a list of tracks given a list of track IDs, URIs, │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spot │ │ dl/utils/spotify.py:193 in _get │ │ │ │ [Errno 20] Not a directory: │ │ '/data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/spotdl/spotdl/spo │ │ tdl/utils/spotify.py' │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/client.py:221 in _internal_call │ │ │ │ 218 │ │ args = dict(params=params) │ │ 219 │ │ if not url.startswith("http"): │ │ 220 │ │ │ url = self.prefix + url │ │ ❱ 221 │ │ headers = self._auth_headers() │ │ 222 │ │ │ │ 223 │ │ if "content_type" in args["params"]: │ │ 224 │ │ │ headers["Content-Type"] = args["params"]["content_type"] │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/client.py:212 in _auth_headers │ │ │ │ 209 │ │ if not self.auth_manager: │ │ 210 │ │ │ return {} │ │ 211 │ │ try: │ │ ❱ 212 │ │ │ token = self.auth_manager.get_access_token(as_dict=False) │ │ 213 │ │ except TypeError: │ │ 214 │ │ │ token = self.auth_manager.get_access_token() │ │ 215 │ │ return {"Authorization": "Bearer {0}".format(token)} │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/oauth2.py:238 in get_access_token │ │ │ │ 235 │ │ │ if token_info and not self.is_token_expired(token_info): │ │ 236 │ │ │ │ return token_info if as_dict else tokeninfo["access │ │ 237 │ │ │ │ ❱ 238 │ │ token_info = self._request_access_token() │ │ 239 │ │ token_info = self._add_custom_values_to_token_info(token_info │ │ 240 │ │ self.cache_handler.save_token_to_cache(token_info) │ │ 241 │ │ return token_info if as_dict else token_info["access_token"] │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/oauth2.py:269 in _request_access_token │ │ │ │ 266 │ │ │ token_info = response.json() │ │ 267 │ │ │ return token_info │ │ 268 │ │ except requests.exceptions.HTTPError as http_error: │ │ ❱ 269 │ │ │ self._handle_oauth_error(http_error) │ │ 270 │ │ │ 271 │ def _add_custom_values_to_token_info(self, token_info): │ │ 272 │ │ """ │ │ │ │ /data/user/0/com.bobbyesp.spowlo/no_backup/spotdl_android/packages/python/us │ │ r/lib/python3.8/site-packages/spotipy/oauth2.py:146 in _handle_oauth_error │ │ │ │ 143 │ │ │ error = response.text or None │ │ 144 │ │ │ error_description = None │ │ 145 │ │ │ │ ❱ 146 │ │ raise SpotifyOauthError( │ │ 147 │ │ │ 'error: {0}, error_description: {1}'.format( │ │ 148 │ │ │ │ error, error_description │ │ 149 │ │ │ ), │ ╰──────────────────────────────────────────────────────────────────────────────╯ SpotifyOauthError: error: invalid_client, error_description: Invalid client
Screenshots & Screen Records
No response
Device info
No response
Additional context
No response