Skip to content

Neo4j chokes on null values for properties #4

@erickpeirson

Description

@erickpeirson

If a node or edge property has value None, the JSONEncoder will serialize that value as null without complaining. Neo4j chokes on the null value, and returns a 500 server error, derailing the batch ingest. Two potential solutions come to mind:

  • Check for and exclude properties with value None in get_node and get_relationship.
  • Change None values to an empty string ("") or some (optional) default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions