Hello Sergii and John,
Can you explain how you solved the problem of passing grades between two moodle?
Both my provider and consumer are moodle with versions 3.3.6+ and 3.3.5+ respectively.
In the provider side a quiz is published as LTI tool (with ID 12) and added as an external resource in the consumer part.
When the user logins to LTI Consumer Moodle and opens the activity, accessing the quiz has no problem, and all questions are answered and user submits the answers, view his grade and closes the window.
In the consumer side, the grade is not listed.
In the provider side, the grade is also not listed, from the logs, it is possible to track when the user started the activity and submitted, but there is no grade.
In the database, in "mdl_quiz_grades" table, I can view the grade from the activity.
When I run below code:
php admin/tool/task/cli/schedule_task.php --execute="\enrol_lti\task\sync_grades"
The outcome is like this:
Starting - Grade sync for shared tool '12' for the course '98'.
Failed - The grade '0.85714285714286' for the user '756' in the tool '12' for the course '98' failed to send.
Do you have any suggestions to analyze the problem?