I have in the config
dbms.security.procedures.unrestricted=gds.,apoc.
apoc-5.24.2-core.jar
neo4j-community-5.24.2-unix.tar.gz
RETURN apoc.version() AS output;
"5.24.2"
or is this function in later versions?
I have in the config
dbms.security.procedures.unrestricted=gds.,apoc.
apoc-5.24.2-core.jar
neo4j-community-5.24.2-unix.tar.gz
RETURN apoc.version() AS output;
"5.24.2"
or is this function in later versions?
your setting of
dbms.security.procedures.unrestricted=gds.,apoc.
which suggest a procedure named gds.
and a procedure named apoc.
is unrestricted. But you are trying to use apoc.convert.fromJsonMap which is not either gds.
or apoc.
Table 260. dbms.security.procedures.unrestricted
Description
A list of procedures and user-defined functions (comma separated) that are allowed full access to the database. The list may contain both fully-qualified procedure names, and partial names with the wildcard *. Note that this enables these procedures to bypass security. Use with caution.
Valid values A comma-separated list where each element is a string.
do you not want to change
dbms.security.procedures.unrestricted=gds.,apoc.
to
dbms.security.procedures.unrestricted=gds.*,apoc.*
?
I have
dbms.security.procedures.unrestricted=gds.*,apoc.*
but it did not show because of the formatting.
my apologies for not seeing that * was in the original post
What files are in plugins/ ?
-rw-r--r-- 6 997 997 2217 Oct 10 20:57 README.txt
drwxr-xr-x 1 997 997 29 Oct 10 20:57 ..
-rw-rw-r-- 4 root root 2891125 Oct 15 14:23 apoc-5.24.2-core.jar
drwxr-xr-x 2 997 997 52 Oct 17 20:03 .
I think I see what's going on.
apoc.convert.fromJsonMap()
is a function, not a procedure, so you do not CALL it (that's where your error is coming from I think), but should instead use it inline, such as...
WITH apoc.convert.fromJsonMap(...) as ...
Yes should have tried to paste the example from the manual page
RETURN apoc.convert.fromJsonMap('{"name": "Graph Data Science Library"}') AS output;