LTI Consumer Cannot find User Id

I have installed the lti_consumer for my course, so that I can setup BigBlueButton. Unfortunately, I am getting internal server errors after adding my LTI passport and the Xblock. The error states that the LTI consumer cannot find the user id. Does anyone know what this means and how to solve it?

cms_1                           | [pid: 18|app: 0|req: 22/109] 172.18.0.3 () {62 vars in 3954 bytes} [Thu May 12 17:57:31 2022] GET /xblock/container/blo
ck-v1:EmpowrX+ID101+2022_T1+type@vertical+block@da775a110a0841bd9bf7624a2c249d9a => generated 10108 bytes in 201 msecs (HTTP/1.1 200) 6 headers in 329 by
tes (1 switches on core 0)
cms_1                           | 2022-05-12 17:57:31,347 ERROR 7 [django.request] [user 3] [ip 76.111.59.169] log.py:224 - Internal Server Error: /previ
ew/xblock/block-v1:EmpowrX+ID101+2022_T1+type@lti_consumer+block@8cfec545cf454be99005699f4e64dc46/handler/lti_launch_handler
cms_1                           | Traceback (most recent call last):
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
cms_1                           |     response = get_response(request)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
cms_1                           |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
cms_1                           |   File "/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py", line 75, in inner
cms_1                           |     return func(*args, **kwds)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
cms_1                           |     return view_func(request, *args, **kwargs)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/django/views/decorators/clickjacking.py", line 50, in wrapped_view
cms_1                           |     resp = view_func(*args, **kwargs)
cms_1                           |   File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/preview.py", line 72, in preview_handler
cms_1                           |     resp = instance.handle(handler, req, suffix)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/xblock/mixins.py", line 84, in handle
cms_1                           |     return self.runtime.handle(self, handler_name, request, suffix)
cms_1                           |   File "/openedx/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1448, in handle
cms_1                           |     return super().handle(block, handler_name, request, suffix=suffix)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/xblock/runtime.py", line 1081, in handle
cms_1                           |     results = handler(request, suffix)
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/lti_consumer/lti_xblock.py", line 1065, in lti_launch_handler
cms_1                           |     self.user_id,
cms_1                           |   File "/openedx/venv/lib/python3.8/site-packages/lti_consumer/lti_xblock.py", line 764, in user_id
cms_1                           |     raise LtiError(self.ugettext("Could not get user id for current request"))
cms_1                           | lti_consumer.exceptions.LtiError: Could not get user id for current request

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.