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'm trying to enroll an user through the API using the following endpoint
POST /api/v1/sections/:section_id/enrollments
However I'm getting a 400 response with the following body message
{:message=>"Can't add an enrollment to a concluded course."}
But when I go to Canvas there is no signal that this course is concluded, I don't even have the option to unconclude the course according to this guide I've found.
https://community.canvaslms.com/t5/Admin-Guide/How-do-I-unconclude-a-course-in-an-account/ta-p/189#U...
Where can I double check whether indeed the course is concluded or not?
Thanks in advance for the help 🙂
Solved! Go to Solution.
Hi,
I am just passing through and a Canvas novice myself, but I think I can answer your last question. If you make a web call to get that course there should be a workflow_state https://letstalkscience.instructure.com/doc/api/courses.html#method.courses.show I believe that aligns to whether or not is concluded.
Courses can also have end dates, so maybe that's it?
Just some shots in the dark, hope it helps.
Hi,
I am just passing through and a Canvas novice myself, but I think I can answer your last question. If you make a web call to get that course there should be a workflow_state https://letstalkscience.instructure.com/doc/api/courses.html#method.courses.show I believe that aligns to whether or not is concluded.
Courses can also have end dates, so maybe that's it?
Just some shots in the dark, hope it helps.
That's it, my course had an end date in the past, I haven't noticed it before, since the status hasn't been changed I got a little confused.
Thank you very much for the help!
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