Canvas LMS REST API: check completed module items for students

Jump to solution
theaht123
Community Explorer

Hi, 

We are using the API endpoint:

GET /api/v1/courses/:course_id/modules/:module_id/items?student_id=:id

For some students we receieve error codes 403 Forbidden and 401 Unauthorized, 

we are wondering if anyone know the reason for this?

Researching, we found that a student just completed the course,  will the endpoint be unavailable when the student  completes the course? 

Labels (1)
0 Likes
1 Solution
jerry_nguyen
Community Contributor

@theaht123 Yes, that endpoint will be unavailable when the student is not active, you can temporary reactive the student, or use Canvas Data to get the data

View solution in original post