Hi I'm trying to go through the HowTo guide for n10s.
The preview piece is working fine for me but whenever I try the example to persist data I get the following error:
[
{
"keys": [
"terminationStatus",
"triplesLoaded",
"triplesParsed"
],
"length": 3,
"_fields": [
"KO",
{
"low": 0,
"high": 0
},
{
"low": 0,
"high": 0
}
],
"_fieldLookup": {
"terminationStatus": 0,
"triplesLoaded": 1,
"triplesParsed": 2
}
}
]
How to debug this sort of error?
I've tried with fresh installations of neo4j 4.4.19 and 5.5.0, both with the same error. I'm using neo4j desktop on a Mac.
Hi @alanbuxton ,
There's an additional value returned by the rdf.import
method called extraInfo
that should hopefully provide additional info:
CALL n10s.rdf.import.fetch(...)
yield terminationStatus, triplesLoaded, triplesParsed, namespaces, extraInfo
RETURN terminationStatus, triplesLoaded, triplesParsed, namespaces, extraInfo
We should update the code in the how-to guide. When things go well it's not informative but is useful when something goes wrong.
Hopefully that gives you a clue on what's going on.
Cheers,
JB.
Thanks for getting back so quickly @jesus_barrasa . The issue was that I was missing the necessary unique constraint.
I've been updating the docs as I've been going - pull request is here: Updated n10s getting started docs by alanbuxton · Pull Request #39 · neo4j-documentation/labs-pages · GitHub
Hope this helps
All the best
Alan