Running with the image neo4j:2026.08.1-community-trixie
sfarnsworth@myvm:~/project$ gunzip -c ./data/foo/HAS_AUTHOR_rel_header.csv.gz
:START_ID,:END_ID,:TYPE
START_ID,END_ID,TYPE
sfarnsworth@myvm:~/project$ gunzip -c ./data/foo/HAS_AUTHOR_rel.csv.gz | head -n 3
START_ID,END_ID,TYPE
af8,af8-0,HAS_AUTHOR
f1d,8f1d-1,HAS_AUTHOR
Then I run this
'bin/neo4j-admin database import full '
'--dry-run=true '
'--path-pattern-style=glob '
'--nodes=Document=import/Document_node.csv.gz,import/Document_node_header.csv.gz '
'--nodes=Person=import/Person_node.csv.gz,import/Person_node_header.csv.gz '
'--relationships=HAS_AUTHOR=import/HAS_AUTHOR_rel.csv.gz,import/HAS_AUTHOR_rel_header.csv.gz '
And I get this
WARNING: Using incubator modules: jdk.incubator.vector
Neo4j version: 2026.08.1
Checking the contents of the following files:
Nodes:
[Document]:
/var/lib/neo4j/import/Document_node.csv.gz
/var/lib/neo4j/import/Document_node_header.csv.gz
[Person]:
/var/lib/neo4j/import/Person_node.csv.gz
/var/lib/neo4j/import/Person_node_header.csv.gz
Relationships:
HAS_AUTHOR:
/var/lib/neo4j/import/HAS_AUTHOR_rel.csv.gz
/var/lib/neo4j/import/HAS_AUTHOR_rel_header.csv.gz
Available resources:
Total machine memory: x
Free machine memory: x
Max heap memory : x
Max worker threads: x
Configured max memory: x
High parallel IO: x
- ----------------------------------------------------
Command Failed
Error importing csv file.
Missing header of type START_ID, among entries [START_ID, END_ID, TYPE] in '/var/lib/neo4j/import/HAS_AUTHOR_rel.csv.gz'
I'm not sure how either HAS_AUTHOR file could possibly be wrong given my read of the documentation.