This issue may occur when updating learner data using the UpdateUser API method.
In the current implementation of the UpdateUser API method, sub-programmes will become detached if the below programme-related fields are updated or passed in the API call:
- "programmeId"
- "programmeStartDate"
- "programmeEndDate"
The solution to address this concern is either to manually reattach the sub-programmes through the interface or to avoid using the UpdateUser API method for making changes to programme fields for learners already associated with sub- programmes.