# Neo.ClientError.Security.Forbidden: Read operations are not allowed for user 'neo4j' with no roles

**URL:** <https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for-user-neo4j-with-no-roles/11458>\
**Category:** Neo4j Graph Platform\
**Tags:** cypher\
**Created:** [October 30, 2019, 5:17pm UTC](https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for-user-neo4j-with-no-roles/11458 "2019-10-30T17:17:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rebecca.carlisle](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rebecca.carlisle/32/4969_2.png) [@rebecca.carlisle](https://community.neo4j.com/u/rebecca.carlisle)\
**Post date:** [October 30, 2019, 5:17pm UTC](https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for-user-neo4j-with-no-roles/11458/1 "2019-10-30T17:17:52Z")

</div>

Hi there,

Neo4J had been working successfully but I had to reinstall it onto a new laptop due to an upgrade and am now getting the following error “Neo.ClientError.Security.Forbidden: Read operations are not allowed for user 'neo4j' with no roles.” When trying to execute the following code;

“LOAD CSV WITH HEADERS FROM "file:///LegalEntity.csv" AS csvLine

CREATE (c:Client {LegalEntityID: toInteger(csvLine.LegalEntityID), LegalEntityName: csvLine.LegalEntityName, LegalEntitySubType: csvLine.LegalEntitySubType})”

I am using the following credentials:

Connect URL: bolt://localhost:7687

Username: neo4j

Password: It was neo4j but was asked to create my own after connecting for the first time

Please assist if you are able to.

Thanks,  
Rebecca

---

<div class="post-metadata">

**Author:** ![mike\_r\_black](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike_r_black/32/30089_2.png) [@mike\_r\_black](https://community.neo4j.com/u/mike_r_black)\
**Post date:** [October 31, 2019, 3:52am UTC](https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for-user-neo4j-with-no-roles/11458/2 "2019-10-31T03:52:44Z")

</div>

Is the file in the `import` directory of Neo4j? By default Neo4j restricts file access to that directory. This setting is in the config file.

---

<div class="post-metadata">

**Author:** ![rebecca.carlisle](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rebecca.carlisle/32/4969_2.png) [@rebecca.carlisle](https://community.neo4j.com/u/rebecca.carlisle)\
**Post date:** [October 31, 2019, 8:04pm UTC](https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for-user-neo4j-with-no-roles/11458/3 "2019-10-31T20:04:47Z")

</div>

Hi Mike

Yes the files are in the correct import directory.

Regards  
Rebecca
