Quiz submissions event data

Jump to solution
mlewis23
Community Champion

Canvas LMS REST API Documentation

The documentation says I should be able to get the submitted answers to a quiz via the event data on the submission.

GET /api/v1/courses/:course_id/quizzes/:quiz_id/submissions/:id/events

But no matter what course/quiz I try I get an error in response:

{"errors": [{"message": "The specified resource does not exist."}],"error_report_id": 41414984}

Does anyone else get this same error?

Labels (1)
1 Solution
mlewis23
Community Champion
Author

A couple of updates. 

1.  The error shown above is from using the submission_id number instead of the id number of the quiz submission. So be sure to grab the correct id number.

2.  However before you can access this data you first have to flip a switch.  On your course Settings page in the Feature Options tab you have to turn the Quiz Log Auditing to on.  Your admin can also globally turn it on.  This has to be done before the submissions, you can not turn it on retroactive.

View solution in original post