You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ gallery-dl https://www.tiktok.com/@emiru --verbose
<some/many stuffs downloads fine>
...
[tiktok][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[tiktok][debug]
Traceback (most recent call last):
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/job.py", line 152, in run
formsgin extractor:
^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 32, in items
data = self._extract_rehydration_data(tiktok_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 111, in _extract_rehydration_data
return util.json_loads(data)["__DEFAULT_SCOPE__"]
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[tiktok][debug] Using TiktokPostExtractor for'https://www.tiktok.com/@emiru/video/7056886628287089967'
[tiktok][warning] 7056886628287089967: Failed to retrieve rehydration data (1/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886628287089967: Failed to retrieve rehydration data (2/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886628287089967: Failed to retrieve rehydration data (3/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886628287089967: Failed to retrieve rehydration data (4/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[tiktok][debug]
Traceback (most recent call last):
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/job.py", line 152, in run
formsgin extractor:
^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 32, in items
data = self._extract_rehydration_data(tiktok_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 111, in _extract_rehydration_data
return util.json_loads(data)["__DEFAULT_SCOPE__"]
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[tiktok][debug] Using TiktokPostExtractor for'https://www.tiktok.com/@emiru/video/7056886250753609007'
[tiktok][warning] 7056886250753609007: Failed to retrieve rehydration data (1/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886250753609007: Failed to retrieve rehydration data (2/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886250753609007: Failed to retrieve rehydration data (3/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056886250753609007: Failed to retrieve rehydration data (4/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[tiktok][debug]
Traceback (most recent call last):
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/job.py", line 152, in run
formsgin extractor:
^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 32, in items
data = self._extract_rehydration_data(tiktok_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/2s70yn0kzmylmr9v6l39kqmk8hvslmdq-gallery-dl-1.29.3/lib/python3.12/site-packages/gallery_dl/extractor/tiktok.py", line 111, in _extract_rehydration_data
return util.json_loads(data)["__DEFAULT_SCOPE__"]
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/f2krmq3iv5nibcvn4rw7nrnrciqprdkh-python3-3.12.9/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[tiktok][debug] Using TiktokPostExtractor for'https://www.tiktok.com/@emiru/video/7056550041481383215'
[tiktok][warning] 7056550041481383215: Failed to retrieve rehydration data (1/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056550041481383215: Failed to retrieve rehydration data (2/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
[tiktok][warning] 7056550041481383215: Failed to retrieve rehydration data (3/4)
[tiktok][debug] Sleeping 30.00 seconds (retry)
^C
KeyboardInterrupt
Looks like you made too many requests too frequently and TikTok started blocking you, it should only be a temporary measure though so you should be able to download again after a certain duration of time.
gallery-dl version
gallery-dl -v [gallery-dl][debug] Version 1.29.3 [gallery-dl][debug] Python 3.12.9 - Linux-6.13.9-xanmod1-x86_64-with-glibc2.40 [gallery-dl][debug] requests 2.32.3 - urllib3 2.3.0 [gallery-dl][debug] Configuration Files ['${HOME}/.config/gallery-dl/config.json']
ytdl (yt-dlp) version
~ yt-dlp --version 2025.03.31
The text was updated successfully, but these errors were encountered: