Get section information API returns 500 error code

a_craik
Community Contributor

I'm making this GET call and including the students and enrollments values - the API docs suggest this should "return the section enrollment for each student" see here: Sections - Canvas LMS REST API Documentation 

This is the GET call I'm making:

https://XXX.instructure.com/api/v1/sections/sis_section_id:XXX?include[]=students&include[]=enrollments

and this is the response I get:

{
"errors": [
{
"message": "An error occurred.",
"error_code": "internal_server_error"
}
],
"error_report_id": XXX
}

...am I misinterpreting something, or is this a glitch?

0 Likes