# Class File Error Messages

#### **<span class="rvts0"><span class="rvts34">"Could not find teacher with teacherID XX"</span></span>**

<span class="rvts20">This error occurs when the Class file references a </span><span class="rvts117">teacherID</span><span class="rvts20"> that is not present in the Teacher file. The system matches each class to a teacher using the </span><span class="rvts117">teacherID</span><span class="rvts20">. If the teacher has not been imported from the Teacher file, the class cannot be imported.</span>

**<span class="rvts21">How to fix</span><span class="rvts20">:</span>**

1. <span class="rvts20">Open your Teacher file and check for the </span><span class="rvts117">teacherID</span><span class="rvts20"> listed in the error message (</span><span class="rvts117">XX</span><span class="rvts20">).</span>
2. <span class="rvts20">If the teacher is missing, update your Teacher file to include the correct </span><span class="rvts117">teacherID</span><span class="rvts20"> and re-import it.</span>

---

#### **<span class="rvts0"><span class="rvts34">"Class 'Math' already exists with a different teacher than '123'"</span></span>**

<span class="rvts20">This error indicates that your **Class file** includes a row with the </span><span class="rvts117">ClassID</span><span class="rvts20"> “Math” and the </span><span class="rvts117">TeacherID</span><span class="rvts20"> “123,” but “Math” has already been assigned to another teacher.</span>

<span class="rvts20">The </span>**<span class="rvts117">ClassID</span>**<span class="rvts20"> must be unique for each teacher. Duplicate </span><span class="rvts117">ClassID</span><span class="rvts20"> entries for different teachers can cause conflicts, particularly when importing Enrollment files, as the system cannot distinguish which students belong to which teacher.</span>

<span class="rvts21">Example</span><span class="rvts20">:</span>

<div class="rvps10" id="bkmrk-teacherid-classid-12"><table><tbody><tr><td>**<span class="rvts21">TeacherID</span>**

</td><td>**<span class="rvts21">ClassID</span>**

</td></tr><tr><td><span class="rvts20">123</span>

</td><td><span class="rvts20">Math</span>

</td></tr><tr><td><span class="rvts20">456</span>

</td><td><span class="rvts20">Math</span>

</td></tr></tbody></table>

</div><p class="callout warning"><span class="rvts20">The system will flag the second row as an error because the </span><span class="rvts117">ClassID</span><span class="rvts20"> “Math” is already assigned to teacher </span><span class="rvts117">123</span><span class="rvts20">.</span></p>

---

#### **<span class="rvts0"><span class="rvts34">How to Fix</span></span>**

<span class="rvts20">To resolve this issue:</span>

- <span class="rvts20">Ensure that the </span><span class="rvts117">ClassID</span><span class="rvts20"> is unique for each teacher. For example, append a section number or teacher identifier to the </span><span class="rvts117">ClassID</span><span class="rvts20">:</span>

<div class="rvps10" id="bkmrk-teacherid-classid-12-1"><table><tbody><tr><td>**<span class="rvts21">TeacherID</span>**

</td><td>**<span class="rvts21">ClassID</span>**

</td></tr><tr><td><span class="rvts20">123</span>

</td><td><span class="rvts20">123\_Math</span>

</td></tr><tr><td><span class="rvts20">456</span>

</td><td><span class="rvts20">456\_Math</span>

</td></tr></tbody></table>

</div>- <span class="rvts20">Update your Enrollment file to reflect the modified </span><span class="rvts117">ClassID</span><span class="rvts20">.</span>

<span class="rvts20">Prior to fixing your import files and importing again, you will want to remove ClassID Math. </span>

<span class="rvts20">You can remove an individual class by going to the ClassEditor, selecting the 'Show only Classes', locating and then clicking the red X next to the name, or you can select all of the affected classes and then click delete.</span>

<span class="rvts20">You can also delete all of the event's resources, classes, and enrollments from the Import page. </span><span class="rvts20">To do this, on the Imports page, click the Class file option within the File Type drop-down menu, then click 'Remove existing Classes'.</span>

---

#### **<span class="rvts0"><span class="rvts34">Important Note</span></span>**

<p class="callout info"><span class="rvts20">If the </span><span class="rvts117">ClassID</span><span class="rvts20"> (e.g., “Math”) has already been imported with teacherID </span><span class="rvts117">123</span><span class="rvts20">, you must first remove it before re-importing your corrected Class file.</span></p>

<p class="callout success"><span class="rvts20">If the errors you got through the import are related to the teachers/classes who will not participate in the conference event, then you can ignore these errors and move forward to the Enrollment file import.</span></p>