Gradebook Issue: lis_result_sourcedid passing as "{"

Gradebook Issue: lis_result_sourcedid passing as "{"

by Jason Fill -
Number of replies: 1

When students are launching into our tool the value of lis_result_sourcedid is being passed as "{". For this reason, when we attempt to post a grade the call fails. I have search all over and have not been able to figure out the cause of this. I have seen this across clients so it does not seem to be specific to a single client of ours.

Any help would be much appreciated.

Also this is an LTI 1.0/1.1 tool.

Thanks!

Average of ratings: -
In reply to Jason Fill

Re: Gradebook Issue: lis_result_sourcedid passing as "{"

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Jason,

If the launch happens over 1.1 like you say, the value Moodle sends for lis_result_sourcedid will be a JSON string, which can then be saved by tools and sent back during grade sync. That '{' is only the first character. I'd suggest troubleshooting the launch and seeing why the rest of the data isn't present in that field.

Cheers,
Jake