I am working on an application where we are running a set of neo4j cypher queries using the apoc.cypher.runMany query. But i am consistently getting this error. Can you help?
Using neo4j python to connect to neo4j cloud instance.
The above exception occurred during handling of the following exception:
neo4j.exceptions.ServiceUnavailable: Unable to retrieve routing information
File "/usr/local/lib/python3.8/site-packages/khde/handlers/neo4j.py", line 122, in query
response = list(session.run(query))
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/work/session.py", line 302, in run
self._connect(self._config.default_access_mode)
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/work/session.py", line 135, in _connect
super()._connect(
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/work/workspace.py", line 178, in _connect
self._connection = self._pool.acquire(**acquirekwargs)
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/io/_pool.py", line 903, in acquire
self.ensure_routing_table_is_fresh(
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/io/_pool.py", line 845, in ensure_routing_table_is_fresh
self.update_routing_table(
File "/usr/local/lib/python3.8/site-packages/neo4j/_sync/io/_pool.py", line 800, in update_routing_table
raise ServiceUnavailable("Unable to retrieve routing information")