Graph Data Science Error (APOC Metadata Procedure Unavailable)

Hello,

I have imported my data into my dbms and installed the plugins APOC (4.2.0.0) and the Graf Data Science Library (1.4.1).

When I open the playground i get the following error:

I added following lines into my neo4j config,

dbms.security.procedures.unrestricted=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.allowlist=jwt.security.*,apoc.*,gds.*

but still getting the same error.

I have done a little research and found someone with the same error and he said:

"It turned out to be a problem with the schema - I had a node with a label that had a space in it "

Is that really an option it is not working for me?

I did my import with neo4j-admin like this:

bin/neo4j-admin import --database=neo4j --id-type=INTEGER --multiline-fields=true --skip-duplicate-nodes --skip-bad-relationships=true --nodes=commits=import/nodes-commits.csv --nodes=packages=import/nodes-packages.csv --nodes=users=import/nodes-users.csv --relationships=commits=import/relationship-projects_commits.csv

with some further relationships.

I also tried then newest version of the dbms, apoc and GDS, but the same error came up.

Anybody have any idea if it can be the import or is it some other error.

Thanks a lot

Can you try to comment the allow list?

I removed the line in settings, but the error is the same.
My config looks like this:

dbms.security.procedures.unrestricted=,jwt.security.*,gds.*,apoc.*

I have also opened a question on stackoverflow and provided my data in a issue

Also I found an error in the security log:

2021-07-12 21:29:40.855+0000 ERROR {plugin-com.neo4j.plugin.jwt.auth.JwtAuthPlugin} Invalid serialized unsecured/JWS/JWE object: Missing part delimiters

Thanks

Not sure about the leading comma. Can you remove that?

How exactly have you set up your DBMS?
Can you share the content of your plugins folder and your full neo4j.conf ?

Not sure about the leading comma. Can you remove that?

Tried also without the leading comma, but still the same error.
The solution with the leading comma was provided by the errormsg (image top). I copied the line and tried my best :slight_smile:

How exactly have you set up your DBMS?

I'm using neo4j Desktop. So I clicked on Add -> local dbms with version 4.3.2 (latest). Thats it.

Can you share the content of your plugins folder and your full neo4j.conf ?

plugins

config is to long for the body:

config

Just tried the same and works out of the box for me

using GDS playground/Neuler 0.1.53

I have the problem after the import of the data.

I did the import like this:

bin/neo4j-admin import --database=neo4j --id-type=INTEGER --multiline-fields=true --skip-duplicate-nodes --skip-bad-relationships=true --nodes=commits=import/nodes-commits.csv --nodes=packages=import/nodes-packages.csv --relationships=commits=import/relationship-projects_commits.csv

Without the import it's working for me too.
There might be an error with the relationship. When I import only the nodes the error doesn't appear.
The relationship contains only the relationship between packages and commits.


Uploaded the packages, commits and relationship on GitHub in an issue