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

Moodle LTI 1.3 assignment get route gives "No context or unsupported content type" bad syntax error

$
0
0
by Vinodya Bandara.  

Hello,
We are using LTI 1.3 tool in moodle 3.8(http://3plcgmoodleprd.prd-prsn.com/moodle38/)  and 3.9(http://3plcgmoodleprd.prd-prsn.com/moodle39/) versions. When we try to execute Moodle LTI 1.3 assignments get route it gives the following error of "400 No context or unsupported content-type". How can we resolve this?

Route: http://3plcgmoodleprd.prd-prsn.com/moodle38/mod/lti/services.php/{moodleCourseId}/lineitems?type_id={typeId}

{
    "status": 400,
    "reason": "No context or unsupported content type",
    "request": {
        "method": "GET",
        "url": "/moodle38/mod/lti/services.php/{moodleCourseId}/lineitems?type_id={typeId}",
        "accept": "*/*"
    }
}



Viewing all articles
Browse latest Browse all 2848

Trending Articles