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 apiv1 scope.
    • Do not rely on legacy Curriculum_Get* allocations alone — validation checks Teaching_GetDepartmentsAndSubjects, Teaching_GetTeachingSets, Timetable_GetPupilTimetables, and Timetable_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_GetDepartmentsAndSubjects and Teaching_GetTeachingSets.
    • Allocate Timetable_GetPupilTimetables (student enrollments and class room/period/session links) and Timetable_GetTimetableWeekAllocations (term/session disposition for classes and enrollments).
    • Confirm teaching sets and pupil timetable Set periods exist in iSAMS for the current academic year.

Missing Guardians or Parent Relationships

  • Issue: Students and staff appear, but guardians / agents do not.
  • Potential Resolutions:
    • Allocate ContactAdvanced_GetContacts on the Batch API client.
  • 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_GetTimetableWeekAllocations and confirm School_GetSchoolTerms so 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.

Missing Students or Staff

  • Issue: Some students or staff members are missing from the sync.
  • Potential Resolutions:
    • Confirm Pupil_GetCurrentPupils and HumanResources_GetCurrentStaff are allocated.
    • Verify the individuals are current/active in iSAMS. The sync uses “current” pupil and staff methods, not former/historical rosters by default.

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 methods Timetable_GetTimetableStructure and ControlPanel_GetContactTypeGlobalList may 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.ashx URLs 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 InvalidApiKey or OAuth HTTP errors from /auth/connect/token.

Duplicate Records

  • Issue: Duplicate people or classes appear after syncing.
  • Potential Resolutions:
    • Edlink keys iSAMS people primarily on @PersonId (with entity @Id retained on identifiers). Teaching sets and enrollments use teaching-set / remapped person IDs. Check for duplicate source records in iSAMS.

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.

If you encounter additional issues or need assistance, please contact Edlink support or your Customer Success Manager.