LTI AGS Grade Synchronization Issue

LTI AGS Grade Synchronization Issue

- Memo Monge の投稿
返信数: 1

Hi everyone,

We are currently integrating an LTI tool (from a third-party provider) with our Moodle LMS (v4.2.1) using LTI 1.3, and we’re encountering an issue with grade synchronization. Here are the specifics:

Issue Details

  • Functionality: The LTI tool launches correctly, and authentication is successful (the content is set up to open in a new window).
  • Grade Submission: Grades are being calculated on the third-party side, but they are not being passed back to Moodle.
  • Grade Report: The activity appears in the Moodle grade report but shows no grade.

Actions Taken

  • Scheduled Tasks: Both "Publish as LTI tool grade sync" scheduled tasks are enabled and running. Logs indicate 1 Read and 0 Writes.
  • Configuration: Verified that the LTI tool and activity are correctly set up to accept grades.
  • User Roles: Tested with both student and admin roles to ensure proper role-based access and permissions.

Observations

  • It appears that while the tool is launching and authenticating correctly, the grade passback using LTI AGS is not occurring. We suspect that the outbound request for the grade is not being logged or sent from the third-party tool. They are currently debugging on their end.

Request for Assistance

We would appreciate any insights or suggestions on the following:

  • Configuration Checks: Are there any specific configurations or settings within Moodle that we might have missed which could affect grade passback?
  • Debugging Tools: Recommendations for tools or methods to track and verify LTI AGS calls within Moodle.
  • Known Issues: Any known issues with LTI AGS grade synchronization that we should be aware of?

Thank you for your support and assistance in resolving this issue.

Memo Monge への返信

Re: LTI AGS Grade Synchronization Issue

- Liam Moran の投稿
画像 Core developers
The scheduled tasks are unrelated, those are for Moodle sending grades if configured as an LTI Tool in another LMS, not receiving them from an LTI Tool.

The next diagnostic step I'd do is to confirm that Moodle is getting AGS requests from the LTI tool by searching the web server logs. The AGS service is accessed at requests to endpoints like:

/mod/lti/services.php/{courseid}/lineitems
or
/mod/lti/services.php/{courseid}/lineitems/{gradeitem_id}/lineitem/scores

You may also see a ?type_id param at the end that makes it very easy to confirm that you're seeing requests for that service.

If you do see those requests, then you know that the Tool is trying to access Moodle's grade service and can continue diagnostics on the Moodle end: those logs may give a hint if an error was thrown. I suspect your observations are correct, though, and that the tool is simply misconfigured to send grades.

Since authentication is working, there should be no problem with their servers accessing yours, so if the requests are being sent, you should be able to see them in the logs. Where those logs are located would depend on the setup of your server, but typically, they'd be in a subfolder named by your web server in /var/logs