Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neo4j chokes on null values for properties #4

Open
erickpeirson opened this issue May 6, 2015 · 0 comments
Open

Neo4j chokes on null values for properties #4

erickpeirson opened this issue May 6, 2015 · 0 comments

Comments

@erickpeirson
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant