I'm trying to put a Python dictionary inside of nodes, because I recieve data as a dictionary in Python and need to save it in Neo4j.
My query looks like this: "create (a {name:"node", text: "", values: {color: "red", size: "7 m"}}) "
and it gives me this error: "Neo.ClientError.Statement.TypeError
Property values can only be of primitive types or arrays thereof. Encountered: Map{color -> String("red"), size -> String("7 m")}."
I don't understand this because in the manual section Neo4j Cypher Manual / Syntax / Maps dictionaries get referred to as maps and are used just like i do in the above query.
How to solve this error?