Skip to main content

Cannot Access Properties on the Type

Erroneous Code Example

This error occurs when you try to access properties on a type that doesn’t support property access, such as primitive types or certain intermediate query results.

Solution

Ensure you are accessing properties on a node, edge, or vector type that has defined fields.