WeBWorK Main Forum

LTIAdvanced grade passback to Canvas error

Re: LTIAdvanced grade passback to Canvas error

by Nathan Wallach -
Number of replies: 1
This seems to be a recurring problem, and the error message about "duplicate nonce" does not really provide much help in discovering the problem.

It might help to add code to SubmitGrade.pm to specifically watch for "duplicate nonce detected" error messages, and then report that this is sometimes caused by an incorrect time on the WW server.
In reply to Nathan Wallach

Re: LTIAdvanced grade passback to Canvas error

by Sarunas Burdulis -
For now I have just added warn() statements duplicating those of debug() in submit_grade code, failure clauses. Now that PERL doesn't croak on erroneous “Can't use string...” it's easy to not notice the difference between “Your score was successfully sent to the LMS” and “Your score was not successfully sent to the LMS” on homework web page.