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

Expectation of error response with grade passback

$
0
0
by Eric Kean.  

Hi,

I've successfully integrated a tool that I've created with Moodle and would like more information about error handling.  My successful response was:

array:3 [

  "headers" => array:10 [

    "Age" => "0"

    "Content-Type" => "application/vnd.ims.lis.v1.score+json; charset=utf-8"

    "Date" => "Sun, 30 Jul 2023 15:00:58 GMT"

    "Server" => "Moodle"

    "Strict-Transport-Security" => "max-age=300; includeSubdomains"

    "X-Cache" => "MISS"

    "X-Clacks-Overhead" => "GNU Terry Pratchett"

    "X-Powered-By" => "Moodle Ninjas"

    "Content-Length" => "0"

    "Connection" => "keep-alive"

  ]

  "body" => null

  "status" => 200

]

If there was some sort of error (user not enrolled in course? etc.), how will this message change?

Thanks so much,

Eric


Viewing all articles
Browse latest Browse all 2856

Trending Articles



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