Skip to content

JSONDecodeError that I can't get around #96

Open

Description

@Spazzery

Firstly, thank you for creating this tool, I've used it in the past and it worked great!

However, I've been trying for an hour, with different downloads and executables and even managed to sign in into echo (previously I used my school environment that linked to Echo (must've created a token or something) that got access to the videos), but now, whatever I do, I get a JSONDecodeError. Maybe they've updated Echo360 recently or something? I can't tell what the issue is.

The error:

Retrieving echo360 Course Info... Traceback (most recent call last):
File "E:\Videos\Ülikool\echo360\echo360.py", line 7, in
sys.exit(main())
^^^^^^
File "E:\Videos\Ülikool\echo360\echo360\main.py", line 393, in main
downloader.download_all()
File "E:\Videos\Ülikool\echo360\echo360\downloader.py", line 346, in download_all
videos = self._course.get_videos().videos
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Videos\Ülikool\echo360\echo360\course.py", line 139, in get_videos
course_data_json = self._get_course_data()
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Videos\Ülikool\echo360\echo360\course.py", line 216, in get_course_data
self.course_data = json.loads(json_str)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users<me>\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<me>\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<me>\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Activity

  1. soraxas commented on Nov 6, 2025

    @soraxas
    Owner

    Thanks for your kind word!

    I haven't touched on this code for a while now, but as a starter, perhaps first run it --debug flag to see what it outputs

  2. graven04 commented on May 11, 2026

    @graven04

    I get the same issue when using firefox but when i use chromium it works for some reason

  3. 0xr3x commented on Jul 28, 2026

    @0xr3x
    Contributor

    I found the same issue when testing the library!
    Just put in PR #101 to solve this issue :D

    -rex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions