# Fix a rejected category CSV import

Correct missing title headers, invalid JSON parent paths and existing category paths before retrying.

## Recognize the import error — Shop-ERP

The import dialog reports that import could not be completed and no categories were added. The same message covers several problems; inspect the file rather than assuming it identifies one specific row.

## Correct headers and parent paths — Shop-ERP

1. Keep the exact `title` header. A header such as `category` is unsupported and does not replace it. Compare the file with **Download CSV template**.

![CSV rejected for an unsupported category header](https://cms.tickalio.com/api/media/file/erp-category-import-validation-01.png)

2. Use JSON arrays for `parentPath`: `[]` for top level and `["Seasonal Accessories"]` for a child of that category. A bare text value such as `Seasonal Accessories` is not a JSON array. Preserve CSV quoting around JSON that contains quotes.

![CSV rejected for a malformed parentPath](https://cms.tickalio.com/api/media/file/erp-category-import-validation-02.png)

These file-validation errors keep Import disabled. Use **Remove the selected file** to clear it, or **Replace** to choose the corrected CSV.

## Resolve an existing path — Shop-ERP

3. A syntactically valid file can still show a preview for a category that already exists. Preview is not proof that the import will succeed.

![Existing Accessories path shown in the preview](https://cms.tickalio.com/api/media/file/erp-category-import-validation-03.png)

4. Importing the existing top-level **Accessories** path was rejected. Remove the duplicate row or choose the intended different path. Do not treat the import as an update command. A save-time rejection may leave Import available to retry; correct the file first.

![Existing category path rejected without adding records](https://cms.tickalio.com/api/media/file/erp-category-import-validation-04.png)

> [!NOTE] These steps were checked with the actual application and fictional records in an isolated local preview. Connected persistence, permissions and downstream results remain unverified.

## Retry and verify — Shop-ERP

5. Check that every parent path resolves to an existing category or a category included in the same file. Use unique sibling paths.
6. Select the corrected CSV, review its paths and count, then import once. Verify the directory and saved record afterwards. If the result is uncertain, search before retrying to avoid another duplicate-path rejection.

Last reviewed: 2026-10-29
