Problem
- I am receiving a CyclicOrgTreeError when trying to upload an employee CSV
- Error message when importing employees
Resolution
The CyclicOrgTreeError appears when there is a circle in your reporting structure within the CSV.
For example, let's say your company has three people. If person A reports to person B, person B reports to person C, and person C reports to person A, you have a cyclical reporting structure.
When trying to upload a CSV with a loop, you will be given an error that looks similar to image below.
To resolve, you must the reporting loop within the CSV and correct it. So in the previous example, we could fix it by having Person A and B report to Person C and person C report to no one.