Issue

When attempting to sync the Basic Reporting Period Attendance Entity, the system returns failed records with the error:  


Basic Reporting Period Attendance Status Code: 404, Student USI: Exception was thrown while creating BasicReportingPeriodAttendance, Error calling PostBasicReportingPeriodAttendance: {"message": "Access to the resource item could not be authorized because the 'Student' was not found."}


Cause

The issue is caused by the students missing their Unique ID (STU.CID).


Resolution

Run this query to find students missing a Unique ID (STU.CID) for the current school and include inactive students.


LIST STU ENR ID CID  GR BY ID IF CID = ' ' AND ENR.ED > 08/01/20XX


The students identified in the query need to be assigned a Unique ID (STU.CID).