Cvmcosta / ltijs

Turn your application into a fully integratable LTI 1.3 tool provider.

Home Page:https://cvmcosta.github.io/ltijs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting this error when accessing the namesandroles and grades HTTPError: Internal Server Error

Aloksam11 opened this issue · comments

Describe the bug
Using the admin I created a activity and then I tried opening the activity using the student login. It opens up and when I send the grade it gives me this error "HTTPError: Internal Server Error"
Expected behavior
A clear and concise description of what you expected to happen.

Provider logs
provider:main Receiving request at path: /grade +13m
provider:main Path does not match reserved endpoints +1ms
provider:main Cookies received: +0ms
provider:main [Object: null prototype] {
provider:main 'ltiaHR0cDovLzUwLjE2LjE4Ni4yMzMvbW9vZGxlUEV0WTBlVVNiY3o2dGdBMw%3D%3D': '10',
provider:main 'ltiaHR0cDovLzUwLjE2LjE4Ni4yMzMvbW9vZGxlRFdadXN0cWcyQVhaYk9DNA%3D%3D': '10',
provider:main 'ltiaHR0cDovLzUwLjE2LjE4Ni4yMzMvbW9vZGxlMGE1Sllxam5nZm1vaVpWNQ%3D%3D': '10'
provider:main } +0ms
provider:main Ltik found +1ms
provider:main Ltik successfully verified +1ms
provider:main Attempting to retrieve matching session cookie +0ms
provider:auth Valid session found +13m
provider:main Passing request to next handler +4ms
provider:gradeService Target platform: http://50.16.186.233/moodle +15m
provider:gradeService Attempting to retrieve platform access_token for [http://50.16.186.233/moodle] +3ms
provider:platform Valid access_token for http://50.16.186.233/moodle not found +13m
provider:platform Attempting to generate new access_token for http://50.16.186.233/moodle +0ms
provider:platform With scopes: https://purl.imsglobal.org/spec/lti-ags/scope/score +0ms
provider:auth Awaiting return from the platform +13m
Response code 404 (Not Found)

Screens
Screenshot from 2023-08-21 16-44-59
Screenshot from 2023-08-21 16-45-13
hots

Additional context
Please help me with this

I have the same issue. How did you solve this?