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

Re: LTI Grade sync with H5P failing

$
0
0
by Jake Dallimore.  

Hi Nick,

What's the content-type header you're sending over with the score post? I ask this because we currently only support:
  • application/vnd.ims.lis.v1.scorecontainer+json
  • application/vnd.ims.lis.v1.score+json
At the time of writing this, this is in accordance with the existing AGS OpenAPI spec: https://www.imsglobal.org/spec/lti-ags/v2p0/openapi/#/default/LineItems.POST

Also, the content-type must be provided for a score post, so I'd definitely start by checking that's all in order.

Related to naming: I've just realised that 1Edtech (formerly IMS Global) have recently modified their existing published specification documents in a non-bc manner (e.g https://www.imsglobal.org/spec/lti-ags/v2p0#score-service-media-type-and-schema - login required), by changing this to 'application/vnd.1EdTech.lis.v1.score+json'. We validate the content-type is one of the two above schema names, so if the tool sends us this newer version, a different content type or nothing at all, we won't match a valid service handler, resulting in the kinds of errors you're seeing. We'd definitely need to patch Moodle if the plan is to accept that new schema name. I've raised this internally. Hopefully it was just a mistake on their part.

Cheers,
Jake

Viewing all articles
Browse latest Browse all 2856

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>