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

LTI Grade sync with H5P failing

$
0
0
by Nick Stebbs.  


Greetings,

I am having an issue with the syncing of grades back to Moodle (LTI consumer of content on h5p.com).
The external tool is setup thus (although I was trying before with "Accept grade" set to always - same error.


screenshot external tool

And activity with privacy is setup thus:

scoring

activity settings

When a quiz is submitted, an xApi call is made to h5p.com, and the provider logs the account/results in the dashboard.

The incoming request to Moodle was failing with a 401 but we fixed an apache config setting with JWT headers.

Now the error is 

```2022-10-05 12:08:42    Error    13.54.204.179    400    POST /mod/lti/services.php/2/lineitems/25/lineitem/scores?type_id=2 HTTP/1.0        GuzzleHttp/7    528     Apache SSL/TLS access```

And with curl I get the response:

```{
    "status": 400,
    "reason": "No handler found for /2/lineitems/25/lineitem/scores  ",
    "request": {
        "method": "POST",
        "url": "/mod/lti/services.php/2/lineitems/25/lineitem/scores?type_id=2",
        "accept": "*/*"
    }
}```

Any advice would be appreciated as this is the last feature on a project due to be launched imminently,

Cheers

NIck


Viewing all articles
Browse latest Browse all 2863

Trending Articles



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