Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76523

Kaltura Quiz Grade not reflected in Moodle Gradebook

XMLWordPrintable

    • MOODLE_400_STABLE

      Hello,

      We have a client that is having issues getting the quiz score when taking Kaltura Video Quizzes with LTI1.1.

      Usually when the student takes the quiz, we send the score to the LMS, then we get a response from the LMS server, there we get the exact status of the request (successful or not).

      For this specific client:

      Then we send the grade to the Moodle gradebook with a curl request.

      LtiGrading: request: [YTo0OntzOjM6InVybCI7czozOToiaHR0cHM6Ly9hdWxhLnVpMS5lcy9tb2QvbHRpL3NlcnZpY2UucGhwIjtzOjE3OiJhZGRpdGlvbmFsSGVhZGVycyI7YToxOntpOjA7czoyOToiQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi94bWwiO31zOjExOiJyZXF1ZXN0Qm9keSI7czoxMDQyOiI8P3htbCB2ZXJzaW9uID0gIjEuMCIgZW5jb2RpbmcgPSAiVVRGLTgiPz4KPGltc3hfUE9YRW52ZWxvcGVSZXF1ZXN0IHhtbG5zID0gImh0dHA6Ly93d3cuaW1zZ2xvYmFsLm9yZy9zZXJ2aWNlcy9sdGl2MXAxL3hzZC9pbXNvbXNfdjFwMCI+CiAgICA8aW1zeF9QT1hIZWFkZXI+CiAgICAgICAgPGltc3hfUE9YUmVxdWVzdEhlYWRlckluZm8+CiAgICAgICAgICAgIDxpbXN4X3ZlcnNpb24+VjEuMDwvaW1zeF92ZXJzaW9uPgogICAgICAgICAgICA8aW1zeF9tZXNzYWdlSWRlbnRpZmllcj42MmYzOGYwMjBlMTAxPC9pbXN4X21lc3NhZ2VJZGVudGlmaWVyPgogICAgICAgIDwvaW1zeF9QT1hSZXF1ZXN0SGVhZGVySW5mbz4KICAgIDwvaW1zeF9QT1hIZWFkZXI+CiAgICA8aW1zeF9QT1hCb2R5PgogICAgICAgIDxyZXBsYWNlUmVzdWx0UmVxdWVzdD4KICAgICAgICAgICAgPHJlc3VsdFJlY29yZD4KICAgICAgICAgICAgICAgIDxzb3VyY2VkR1VJRD4KICAgICAgICAgICAgICAgICAgICA8c291cmNlZElkPnsiZGF0YSI6eyJpbnN0YW5jZWlkIjoiNzUzIiwidXNlcmlkIjoiNTg5MjMiLCJ0eXBlaWQiOiIxMTAiLCJsYXVuY2hpZCI6MjMxNDUwMTU5fSwiaGFzaCI6IjI4NjRlNjllNzcyYzI4YTljNzE0MDY3ZjllYTM2YjI2OTdlMjEzNWRkMThkMzQ1MTdiZTE4MDgxZWRlYWI0ZGUifTwvc291cmNlZElkPgogICAgICAgICAgICAgICAgPC9zb3VyY2VkR1VJRD4KICAgICAgICAgICAgICAgIDxyZXN1bHQ+CiAgICAgICAgICAgICAgICAgICAgPHJlc3VsdFNjb3JlPgogICAgICAgICAgICAgICAgICAgICAgICA8bGFuZ3VhZ2U+ZW4tdXM8L2xhbmd1YWdlPgogICAgICAgICAgICAgICAgICAgICAgICA8dGV4dFN0cmluZz4wLjU8L3RleHRTdHJpbmc+CiAgICAgICAgICAgICAgICAgICAgPC9yZXN1bHRTY29yZT4KICAgICAgICAgICAgICAgIDwvcmVzdWx0PgogICAgICAgICAgICA8L3Jlc3VsdFJlY29yZD4KICAgICAgICA8L3JlcGxhY2VSZXN1bHRSZXF1ZXN0PgogICAgPC9pbXN4X1BPWEJvZHk+CjwvaW1zeF9QT1hFbnZlbG9wZVJlcXVlc3Q+IjtzOjY6Im1ldGhvZCI7czo0OiJQT1NUIjt9] sent
       
      KMS Curl - going to call https://aula.ui1.es/mod/lti/service.php in apache PID 25717 on instance  kaf-kaltura.ui1.es
       
      KMS Curl - done calling https://aula.ui1.es/mod/lti/service.php in apache PID 25717 on instance  kaf-kaltura.ui1.es
       
      LtiRequester: response from server: [YTozOntpOjA7czoxMTg6IjxodG1sPg0KPGhlYWQ+PHRpdGxlPjQwMyBGb3JiaWRkZW48L3RpdGxlPjwvaGVhZD4NCjxib2R5Pg0KPGNlbnRlcj48aDE+NDAzIEZvcmJpZGRlbjwvaDE+PC9jZW50ZXI+DQo8L2JvZHk+DQo8L2h0bWw+DQoiO2k6MTtzOjA6IiI7aToyO2E6MDp7fX0=]
       

      if you check the LtiGrading: request you see that we send the score to the LMS gradebook:
      {{
      }}

      ...
         <resultScore>
              <language>en-us</language>
              <textString>0.5</textString>
         </resultScore>
      ...

       

      But in the response we don't get information and we get 403 Forbidden, instead of "Success" or "Failure" to check the status of the grading request sent to the Moodle gradebook, as received from the LMS server.
       
      This is coming from your end, can you please investigate why this happens from your server?

       

            Unassigned Unassigned
            salah.majadly Salah Majadly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.