Query with apoc.nodes.link causes "ProcedureRegistrationFailed" error

I got this error:


apoc.nodes.link is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.

This is the query I ran:

MATCH (dt:Time)
ORDER BY dt.dateTimeProperty ASC
WITH collect(dt) as dtCollection
CALL apoc.nodes.link(dtCollection, 'NEXT')
RETURN dtCollection

How do I resolve this?!?

Ultimately, I'm trying to relate my Time nodes in a chain.


Did you follow the readme/docs about setting the unrestricted setting in your neo4j.conf?