Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

Re: Missing or invalid consumer key - Sending Grades from External LTI system to Moodle 3.9

$
0
0
by Jake Dallimore.  

Hi Youness,

That most likely comes from the fact that you're missing the relevant OAuth Authorization headers in the request. It could be thrown by this line (hard to say from the limited information however): https://github.com/moodle/moodle/blob/master/mod/lti/service/gradebookservices/classes/local/resources/lineitems.php#L87

Normally, this is handled by whatever library you're using, but since you're using postman, I'm not sure what you're doing to ensure this is being set/sent properly. I'd recommend making this call from your tool code directly, to guarantee the headers are generated and sent as they would be under normal use.

Cheers,
Jake

Viewing all articles
Browse latest Browse all 2848

Trending Articles