You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22NC5.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= 22NC5
2
2
3
3
== Status description
4
-
error: data exception - graph type element not found. The `{ <<entityType>> }` element type referenced by `{ <<graphTypeReference>> }` was not found.
4
+
error: data exception - graph type element not found. The `{ <<entityType>> }` element type referenced by `{ <<graphTypeReference>> }` does not exist.
5
5
6
6
== Explanation
7
7
This error occurs when a graph type definition references an element type (such as a node or relationship) using an alias that has not been defined, or by an identifying reference where there is no graph type element identified by that reference.
@@ -23,7 +23,7 @@ The query returns an error with GQLSTATUS 22NC5 and the status description:
23
23
24
24
[source]
25
25
----
26
-
error: data exception - graph type element not found. The node type element referenced by '(:Node =>)' was not found.
26
+
error: data exception - graph type element not found. The node type element referenced by '(:Node =>)' does not exist.
27
27
----
28
28
In this case, you can make the reference to be non-identifying, or you can define the node type element before this operation:
29
29
@@ -49,7 +49,7 @@ The query returns an error with GQLSTATUS 22NC5 and the status description:
49
49
50
50
[source]
51
51
----
52
-
error: data exception - graph type element not found. The relationship type element referenced by 'b' was not found.
52
+
error: data exception - graph type element not found. The relationship type element referenced by 'b' does not exist.
53
53
----
54
54
In this case, the reference could be fixed by providing a relationship type:
55
55
@@ -73,7 +73,7 @@ The query returns an error with GQLSTATUS 22NC5 and the status description:
73
73
74
74
[source]
75
75
----
76
-
error: data exception - graph type element not found. The node type element referenced by 'n' was not found.
76
+
error: data exception - graph type element not found. The node type element referenced by 'n' was does not exist.
77
77
----
78
78
In this case, the reference can be fixed by providing a label for the constraint:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22NC8.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= 22NC8
2
2
3
3
== Status description
4
-
error: data exception - graph type contains duplicated tokens. The graph type includes a label, relationship type or alias with name `{ <<token>> }` more than once
4
+
error: data exception - graph type contains duplicated tokens. The graph type includes a label, a relationship type, or an alias with the name `{ <<token>> }` more than once.more than once.
5
5
6
6
== Explanation
7
7
This error occurs when a graph type definition attempts to use the same name for more than one label, relationship type, or alias within the same scope.
@@ -26,7 +26,7 @@ The query returns an error with GQLSTATUS 22NC9 and the status description:
26
26
27
27
[source]
28
28
----
29
-
error: data exception - graph type contains duplicated tokens. The graph type includes a label, relationship type or alias with name 'p' more than once.
29
+
error: data exception - graph type contains duplicated tokens. The graph type includes a label, a relationship type, or an alias with the name 'p' more than once.
30
30
----
31
31
32
32
To fix this, rename one of the aliases, for example:
@@ -55,7 +55,7 @@ The query returns an error with GQLSTATUS 22NC9 and the status description:
55
55
56
56
[source]
57
57
----
58
-
error: data exception - graph type contains duplicated tokens. The graph type includes a label, relationship type or alias with name ':REL' more than once.
58
+
error: data exception - graph type contains duplicated tokens. The graph type includes a label, a relationship type, or an alias with the name ':REL' more than once.
59
59
----
60
60
61
61
To fix this, delete the duplicate relationship type definition, since they are both equivalent:
0 commit comments