[[rest-api-get-non-existent-node]]
=== Get non-existent node ===

.Final Graph
["dot", "Final-Graph-Get-non-existent-node.svg", "neoviz"]
----
  N0 [
    label = "{Node\[0\]|}"
  ]
  N8 [
    label = "{Node\[8\]|}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/node/800000+
* *+Accept:+* +application/json+

_Example response_

* *+404:+* +Not Found+
* *+Content-Type:+* +application/json+
[source,javascript]
----
{
  "message" : "Cannot find node with id [800000] in database.",
  "exception" : "NodeNotFoundException",
  "stacktrace" : [ "org.neo4j.server.rest.web.DatabaseActions.node(DatabaseActions.java:123)", "org.neo4j.server.rest.web.DatabaseActions.getNode(DatabaseActions.java:234)", "org.neo4j.server.rest.web.RestfulGraphDatabase.getNode(RestfulGraphDatabase.java:225)", "java.lang.reflect.Method.invoke(Method.java:597)", "org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:62)" ]
}
----


