cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Invalid type or encoding of property block

limelyj
Node Link

neo4j version 4.1.1
browser version 4.1.0

When I ran the following cypher with some specific labels.

MATCH (n:Order)
return n order by n.id limit 10

I got this error.

org.neo4j.io.pagecache.CursorException: 
Invalid type or encoding of property block: 5125273436732674605 (type = GEOMETRY)

Other labels are fine, just some of them show this error.

Thinking that the id property might have problem, I also did some test. when I select id that is string, it is fine

MATCH (n:Order)
where apoc.meta.type(n.id) = "STRING"
RETURN n LIMIT 10

but selecting id that are not string, would also trigger the above error

MATCH (n:Order)
where apoc.meta.type(n.id)  <> "STRING"
RETURN n 

Does it mean that my data is corrupted? How can I fix it?

Thanks, any help would be appreciated.

3 REPLIES 3

clem
Graph Steward

What happens when you do:

MATCH (n:Order)
where apoc.meta.type(n.id)  <> "STRING"
RETURN n.id, apoc.meta.type(n.id)

and does it make sense for the id's returned?

it shows this error message too. Nothing is returned.

org.neo4j.io.pagecache.CursorException: 
Invalid type or encoding of property block: 5125273436732674605 (type = GEOMETRY)

Hey @limelyj ,

have you ever solved this issue? I'm seeing the same errors when querying some nodes in my local deployment.

Cheers