For Developers
Troubleshooting Issues
You can find solutions to common iSAMS integration issues below.
Validation Fails: Methods Not Allocated
- Issue: Source validation fails with an error indicating methods are not allocated to the API key (often
MethodsNotAllocatedToKeyException). - Potential Resolutions:
- In iSAMS API Services Manager, open the Batch API client used for Edlink and allocate every required rostering method from the connecting guide (Teaching + Timetable, not Curriculum Manager).
- Re-run Validate Configuration in Edlink. Validation posts methods individually so you can see which method is missing.
- Confirm you created a Batch client (not only a REST client) and granted the
apiv1scope. - Do not rely on legacy
Curriculum_Get*allocations alone — validation checksTeaching_GetDepartmentsAndSubjects,Teaching_GetTeachingSets,Timetable_GetPupilTimetables, andTimetable_GetTimetableWeekAllocations(among others).
Missing Departments, Subjects, Classes, or Enrollments
- Issue: People sync, but departments, subjects, classes, or enrollments are missing.
- Potential Resolutions:
- Allocate Teaching Batch methods:
Teaching_GetDepartmentsAndSubjectsandTeaching_GetTeachingSets. - Allocate
Timetable_GetPupilTimetables(student enrollments and class room/period/session links) andTimetable_GetTimetableWeekAllocations(term/session disposition for classes and enrollments). - Confirm teaching sets and pupil timetable Set periods exist in iSAMS for the current academic year.
- Allocate Teaching Batch methods:
Missing Guardians or Parent Relationships
- Issue: Students and staff appear, but guardians / agents do not.
- Potential Resolutions:
- Allocate
ContactAdvanced_GetContactson the Batch API client.
- Allocate
Classes Missing Period Links or Incorrect Class/Enrollment State
- Issue: Classes sync, but periods are empty, classes are not linked to periods, or class/enrollment lifecycle state looks wrong.
- Potential Resolutions:
- Allocate
Timetable_GetTimetableStructure(bell-schedule periods; optional for sync continuity — missing allocation surfaces as a validation warning). - Allocate
Timetable_GetPupilTimetables(class↔period / room links come from Set periods, not Curriculum blocks). - Allocate
Timetable_GetTimetableWeekAllocationsand confirmSchool_GetSchoolTermsso period weeks can bind to academic terms for Active / Upcoming / Completed state. - Confirm the source timezone matches the school’s wall-clock timezone used by iSAMS naive datetimes.
- Allocate
Missing Students or Staff
- Issue: Some students or staff members are missing from the sync.
- Potential Resolutions:
- Confirm
Pupil_GetCurrentPupilsandHumanResources_GetCurrentStaffare allocated. - Verify the individuals are current/active in iSAMS. The sync uses “current” pupil and staff methods, not former/historical rosters by default.
- Confirm
Validation Warning: No Data Received
- Issue: Validation reports a warning that a Batch method returned no data.
- Potential Resolutions:
- Confirm the school actually has records for that entity in iSAMS.
- Confirm the method is allocated and any required filters are satisfied.
- A warning does not always block onboarding; required methods that error (403 / XML
<Message>) will still fail validation. Optional methodsTimetable_GetTimetableStructureandControlPanel_GetContactTypeGlobalListmay warn on error without failing validation.
OAuth or API Connection Errors
- Issue: Sync or validation fails while requesting a token or calling Batch.
- Potential Resolutions:
- Confirm
url, Client ID, and Client Secret match the iSAMS tenant and Batch client. - Confirm the host is reachable and the URL points at the iSAMS cloud/host (full
xml.ashxURLs are also accepted). - Check for iSAMS throttle responses (
ServiceThrottled) and retry later if you have exceeded request limits. - Invalid or revoked clients typically surface as
InvalidApiKeyor OAuth HTTP errors from/auth/connect/token.
- Confirm
Duplicate Records
- Issue: Duplicate people or classes appear after syncing.
- Potential Resolutions:
- Edlink keys iSAMS people primarily on
@PersonId(with entity@Idretained on identifiers). Teaching sets and enrollments use teaching-set / remapped person IDs. Check for duplicate source records in iSAMS.
- Edlink keys iSAMS people primarily on
Enrollment Status Discrepancies
- Issue: Enrollment state in Edlink does not match expectations in iSAMS.
- Potential Resolutions:
- Student and teacher enrollment state is derived from academic terms tied to the pupil timetable periods for that class/person (Active / Upcoming / Completed / Inactive), not from Curriculum
CourseStudentStatusId. - Re-run sync after confirming teaching-set membership and pupil timetable Set periods are correct in iSAMS, and that week allocations + terms cover the intended dates.
- Student and teacher enrollment state is derived from academic terms tied to the pupil timetable periods for that class/person (Active / Upcoming / Completed / Inactive), not from Curriculum
If you encounter additional issues or need assistance, please contact Edlink support or your Customer Success Manager.