Skip to content

Relation contains hyphens #3020

@gajazlikovac

Description

@gajazlikovac

🐛 Describe the bug

When relations contain hyphens (-), they cannot be added to neo4j, due to the following error:

ERROR:root:Error adding memory: {code: Neo.ClientError.Statement.SyntaxError} {message: Invalid input '-': expected a parameter, '&', '*', ':', 'WHERE', ']', '{' or '|' (line 9, column 48 (offset: 411))
 "                MERGE (source)-[r:definiert_icp-kriterien_für]->(destination)"

To recreate try using "ICP-Kriterien" in some context. Most likely it will also fail on any other non-ASCII character.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions