Hi everyone, I’m working some things for the frontend-app-discussions MFE, before I started working on the code I was trying to test if everything was working properly on my local but it seems I have many 500 errors with a “default” config the console shows:
context = get_context(course, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/lms/djangoapps/discussion/rest_api/serializers.py", line 71, in get_context
cc_requester = CommentClientUser.from_django_user(requester).retrieve(course_id=course.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 70, in retrieve
self._retrieve(*args, **kwargs)
File "/openedx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 228, in _retrieve
response = forum_api.get_user(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: get_user() missing 1 required positional argument: 'group_ids'
2025-08-15 21:36:53,738 ERROR 26 [django.request] [user None] [ip None] log.py:246 - Internal Server Error: /api/discussion/v1/threads/
Traceback (most recent call last):
File "/openedx/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/openedx/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/pyenv/versions/3.11.8/lib/python3.11/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/openedx/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/venv/lib/python3.11/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/venv/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/venv/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/lms/djangoapps/discussion/rest_api/views.py", line 667, in create
return Response(create_thread(request, request.data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/lms/djangoapps/discussion/rest_api/api.py", line 1480, in create_thread
context = get_context(course, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/lms/djangoapps/discussion/rest_api/serializers.py", line 71, in get_context
cc_requester = CommentClientUser.from_django_user(requester).retrieve(course_id=course.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/models.py", line 70, in retrieve
self._retrieve(*args, **kwargs)
File "/openedx/edx-platform/openedx/core/djangoapps/django_comment_common/comment_client/user.py", line 228, in _retrieve
response = forum_api.get_user(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: get_user() missing 1 required positional argument: 'group_ids'
[15/Aug/2025 21:36:53] "POST /api/discussion/v1/threads/ HTTP/1.1" 500 396298
To have the forum running I installed the tutor plugin, enabled it, did a tutor dev launch, and then enrolled on a course with user and accessed the discussions MFE, I can see many discussions related API calls failing with 500 and any other stuff working correctly (I would upload an screeshot but I can’t given that I’m a new user)
Every other thing in EDX seems to working normally, and I ask a friend to also install the forum plugin to test and hast the same issue
Is there any known problem in discussions for Teak? or am I missing something?
Thanks in advance.