AnsweredAssumed Answered

Enrollment API Bug?

Question asked by Tim Summers on Jul 18, 2016
Latest reply on Jul 28, 2016 by awilliams

I'm using the Enrollment API to enroll a teacher into a course section:

POST /api/v1/sections/:section_id/enrollments

 

My request parameters are:

?enrollment[user_id]=6795907

&enrollment[type]=TeacherEnrollment

&enrollment[enrollment_state]=active

&enrollment[notify]=false

 

The response is:

{"message":"Can't create an enrollment without a user. Include enrollment[user_id] to create an enrollment"}

 

However, the user has indeed been created and appears in the Canvas UI as expected. This call worked fine last Friday 7/15, so I'm wondering if a bug might have been introduced over the weekend update.

Outcomes