cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure `apoc.path.subgraphNodes`: Caused by: org.neo4j.graphdb.NotFoundException: Node[199446563] not connected to this relationship[112111602]

Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure apoc.path.subgraphNodes: Caused by: org.neo4j.graphdb.NotFoundException: Node[199446563] not connected to this relationship[112111602]

can anyone explain why this error is comming

11 REPLIES 11

The system explains that an expected condition within the data processed is not given.
Without any context information its rather difficult to help you out.
As a starting point, I would investigate the node and relation whose IDs are literally given by using the web client, e.g.:

MATCH (n)
WHERE id(n)=199446563
WITH n
MATCH (r)
WHERE id(r)=112111602
RETURN n, r

Examine, if the results match your expectations to model and data.

MATCH (n)
WHERE id(n)=199446563
WITH n
MATCH (r)
WHERE id(r)=112111602
RETURN n, r

this is giving two node..

how i can solve this error .. please help

intouch_vivek
Graph Steward

Hi Yesh,

Looks like APOC is not installed properly.
try below link to and add the APOC jar manually and update settings file accordingly

Regards
Vivek

please see for more details

MATCH(start:Place{id:'Amsterdam'}),(end:Place{id:'London'})
CALL gds.alpha.shortestPath.stream({
nodeProjection:'Place',
relationshipPorjection:{ROAD:{type:'EROAD',properties:'distance',orientation:'UNDIRECTED'}},
startNode:start,endNode:end, writeProperty:'distance'})
YIELD nodeId, cost
RETURN gds.util.asNode(nodeId).id as name, cost
Failed to invoke procedure gds.alpha.shortestPath.stream: Caused by: java.lang.IllegalArgumentException: Missing information for implicit graph creation. No value specified for the mandatory configuration parameter relationshipProjection (a similar parameter exists: [relationshipPorjection])

**I got this message when i try to running the code in Neo4j 3.5.17 **
How I can solve it ??

Hi @nmalsaud15.

Please check one issue related to spelling of relationshipProjection

Think you It working now

CALL algo.closeness.stream("User", "FOLLOWS")
YIELD nodeId, centrality
RETURN algo.getNodeById(nodeId).id, centrality
ORDER BY centrality DESC

There is no procedure with the name algo.closeness.stream registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

I used this code but I got this error and the code looks fine to me.
How I can solve this problems ?

Have you setup Neo4j Graph algorithm correctly ?
https://neo4j.com/docs/graph-algorithms/current/introduction/

yes, I did install it before I start working in my project.
FYI, I installed it in 3.5.17 not the latest one>

Hope you have updated your configuration file

dbms.security.procedures.unrestricted=algo.*
  1. Please check if any of the the procedure is working from the library?
  2. If above is not true then definitely either problem is in algo library compatibility or problem in download of the jar file.
  3. If answer of point 1) is yes then we will go through in detail to analyse.
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online