Error when using spatial.ImportOSM

Hi everyone.

I am using Neo4j 4.4.14 with plugin geo-spatial and I am facing the follwoging problem when I am trying to import a .osm file:

Command:

call spatial.importOSM('./import/file.osm')

Error:

Failed to invoke procedure `spatial.importOSM`: Caused by: org.neo4j.graphdb.security.AuthorizationViolationException: Schema operation 'create_index' on database 'neo4j' is not allowed for user 'neo4j' with FULL overridden by TOKEN_WRITE restricted to TOKEN_WRITE.

Configuration of Docker-compose:

neo4j:
    image: neo4j:4.4.14
    container_name: neo4j
    restart: always
    ports:
      - 7473:7473
      - 7474:7474
      - 7687:7687
    volumes:
      - "../data/neo4j:/var/lib/neo4j/data"
      - "../data/neo4j-plugins:/var/lib/neo4j/plugins"
      - "../data/import:/var/lib/neo4j/import"
    environment:
      - NEO4J_AUTH=xxxxxx/xxxxxxxxx
      - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
      - NEO4J_dbms_security_procedures_unrestricted=gds.*,spatial.*
      - NEO4J_dbms_security_procedures_allowlist=gds.*,spatial.*

The log of docker container shows the following lines:

neo4j         | Importing with osm-writer: OSMGraphWriter: DatabaseService[community single [DatabaseLayout{databaseDirectory=/data/databases/neo4j, transactionLogsDirectory=/data/transactions/neo4j}]]:txInterval[10000]
neo4j         | Missing user or uid: {node_osm_id=-1, lat=38.380053999999994, lon=-0.5020538999999999}
neo4j         | Missing user or uid: {node_osm_id=-2, lat=38.3801938, lon=-0.5022804999999999}
neo4j         | Missing user or uid: {node_osm_id=-3, lat=38.3803176, lon=-0.5025196}
neo4j         | Missing user or uid: {node_osm_id=-4, lat=38.380414699999996, lon=-0.5027192}
neo4j         | Missing user or uid: {node_osm_id=-5, lat=38.3805221, lon=-0.5029401}
neo4j         | Missing user or uid: {node_osm_id=-6, lat=38.380541199999996, lon=-0.5029793}
neo4j         | Missing user or uid: {node_osm_id=-7, lat=38.3806709, lon=-0.5032308}
neo4j         | Missing user or uid: {node_osm_id=-8, lat=38.380732900000005, lon=-0.5033209}
neo4j         | Missing user or uid: {node_osm_id=-9, lat=38.38076949999999, lon=-0.5033640999999999}
neo4j         | Missing user or uid: {node_osm_id=-10, lat=38.380835499999996, lon=-0.5034291}
neo4j         | Thu Mar 14 07:15:18 UTC 2024: Saving node 14749         (10292.393579902302 node/second)
neo4j         | Thu Mar 14 07:15:19 UTC 2024: Saving node 36771         (12830.076762037683 node/second)
neo4j         | Thu Mar 14 07:15:21 UTC 2024: Saving node 56098         (13049.081181670155 node/second)
neo4j         | About to create node index

Anyone has an idea what might be the cause behind this error?