Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
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?
Solved! Go to Solution.
@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
I also have this question!
We are very interested in why this distinction happens and not a return of finnished course or all marked as done.
Has anyone tried to get this data?
Hi,
does the user used to consume the API have permission to list the elements of the module?
@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
Unfortunately, all API endpoints related to a student's progression become unavailable once the student's enrollment is concluded. You can reactive the student by following the instructions here https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-restore-a-concluded-enrollment-in-a-cou... or via API https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.reactivate
You can contact me if you need help setting up Canvas Data
To participate in the Instructure Community, you need to sign up or log in:
Sign In