Find answers from the community

Updated 4 months ago

I am getting the following error when I

At a glance

The community member is encountering a "ValueError: Could not use APOC procedures" error when trying to run the Neo4jGraphStore(). The comments suggest that the error message may be misleading and the issue could be a general connection problem. A community member recommends testing the connection by running a query outside of the llama-index using the Neo4j driver. The driver is set up as driver = neo4j.GraphDatabase.driver(url, auth=(username, password)). There is no explicitly marked answer in the comments.

I am getting the following error when I try running Neo4jGraphStore()

""
ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration
""
L
2 comments
Hmmm I got this before and the value error was a little misleading -- it might also be a general connection issue

You can try testing for yourself by running a query outside of llama-index

Plain Text
 with driver.session(database=database) as session:
            result = session.run(query, param_map)
            print([d.data() for d in result])
also this is the driver:

driver = neo4j.GraphDatabase.driver(url, auth=(username, password))
Add a reply
Sign up and join the conversation on Discord