Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: JSONDecodeError Occurs When Parsing Response in rd Method (line 2 column 1) #183

Open
1 task done
quynhtdt1997 opened this issue Dec 6, 2024 · 1 comment
Open
1 task done
Labels
Status: Awaiting Response Waiting for a response/more information. Status: TBC To be confirmed Type: Bug Something isn't working

Comments

@quynhtdt1997
Copy link

What happened?

The application encounters a JSONDecodeError while attempting to parse the response from an API within the rd method in base.py. The error specifies an issue at line 2 column 1 (char 1) of the JSON response.
Screenshot 2024-12-06 085138

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "requests\models.py", line 971, in json
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base.py", line 192, in rd
    ).json()
  File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Terms

  • I am using the latest available version.
@quynhtdt1997 quynhtdt1997 added Status: TBC To be confirmed Type: Bug Something isn't working labels Dec 6, 2024
@techtanic
Copy link
Owner

Can you update to the latest version and check please

@techtanic techtanic added the Status: Awaiting Response Waiting for a response/more information. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Response Waiting for a response/more information. Status: TBC To be confirmed Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants