The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I am testing the following endpoint /api/v1/courses/:course_id/students/submissions.
This is how I am testing it in Postman /api/v1/courses/6483/students/submissions?per_page=100&student_ids[]=889&assignment_ids[]=254931&include[]=assignment.
I am getting the following error when trying to pass in the assignment_ids param in the manner above.
{
"error": "invalid assignment ids requested"
}Is there anything wrong with how I am passing in that param?
Hi,
You are indeed doing it the right way, but just check that the argument you are supplying for assignment_ids is valid, i.e. that the assignment from that ID exists in the course.
It should be the number after assignments/
(/courses/xxx/assignments/xxx)
Hope this helps,
Alex
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in