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
JSONDecodeError: Expecting value: line 4 column 1 (char 3)
File "__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting value: line 4 column 1 (char 3)
(4 additional frame(s) were not displayed)
...
File "manage.py", line 19, in <module>
execute_from_command_line(sys.argv)
File "users/management/commands/retire_users.py", line 110, in handle
resp = bulk_retire_edx_users(user.username)
File "openedx/api.py", line 930, in bulk_retire_edx_users
response = edx_client.bulk_user_retirement.retire_users({"usernames": usernames})
The text was updated successfully, but these errors were encountered:
As per my R&D, it seems like the configurations added in mitodl/salt-ops#1574 & mitodl/ol-infrastructure#1667 are not deployed on Production and that is the reason that edX is returning 200 but that status is from a redirected page. So, the response is not JSON serializable. I have asked the DevOps team to look into it.
Thanks Asad. Open edx deployments to prod have been held up by issues with proctored exams. We may have to wait a week or two, depending on what devops has to say.
I ran
python manage.py retire_users --user=[REDACTED]@gmail.com
and got the following error:
Sentry Issue: MITXONLINE-32T
The text was updated successfully, but these errors were encountered: