You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a member to a cohort using the AddCohortMember, CohortType and UserType classes but keep failing. What am I doing wrong?
member = AddCohortMember(CohortType(type = 'id', value = '299'),
UserType(type = 'id', value = '9'))
members = [member]
moodle.core.cohort.add_cohort_members(members)
"exception": "invalid_parameter_exception"
The text was updated successfully, but these errors were encountered:
Hey,
I'm trying to add a member to a cohort using the AddCohortMember, CohortType and UserType classes but keep failing. What am I doing wrong?
"exception": "invalid_parameter_exception"
The text was updated successfully, but these errors were encountered: