# Writing in read access mode not allowed when using Bloom and Data explorer for Neo4j Plugins

**URL:** <https://community.neo4j.com/t/writing-in-read-access-mode-not-allowed-when-using-bloom-and-data-explorer-for-neo4j-plugins/49185>\
**Category:** Neo4j Graph Platform\
**Tags:** apoc\
**Created:** [December 17, 2021, 5:56pm UTC](https://community.neo4j.com/t/writing-in-read-access-mode-not-allowed-when-using-bloom-and-data-explorer-for-neo4j-plugins/49185 "2021-12-17T17:56:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dipernaleonardo](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dipernaleonardo/32/19706_2.png) [@dipernaleonardo](https://community.neo4j.com/u/dipernaleonardo)\
**Post date:** [December 17, 2021, 5:56pm UTC](https://community.neo4j.com/t/writing-in-read-access-mode-not-allowed-when-using-bloom-and-data-explorer-for-neo4j-plugins/49185/1 "2021-12-17T17:56:44Z")

</div>

Hi all,  
I have the following Cypher query that runs well on Neo4j browser pointing to my local DB:

_CALL apoc.meta.data() YIELD label, property, type, elementType_  
_WHERE elementType \<\> 'relationship'_  
_AND type \<\> 'RELATIONSHIP'_  
_WITH label, collect(property + ' (' + type + ')') AS properties_  
_WITH apoc.map.fromLists(collect(label), collect(properties)) AS properties\_map_

_CALL apoc.meta.graph() YIELD nodes, relationships_  
_UNWIND nodes AS n_  
_WITH n, apoc.node.labels(n)[0] AS label, properties\_map, relationships_

_CALL apoc.create.setProperty(n, 'properties', apoc.text.join(properties\_map[label], '\n')) YIELD node_

_RETURN collect(node) AS nodes, relationships;_

However, when I paste this as a search phrase in Bloom and as a query in Data explorer for neo4j plugins I receive the following error:

**"Writing in read access mode not allowed. Attempted to write to internal graph 0 (neo4j)".**

I have figured out that the issue is when executing apoc.create.setProperty probably because It's a write operation but I don't know why these kind of operations cannot be performed on both plugins.

Any help might be appreciated.

Thanks,  
Leonardo.

---

<div class="post-metadata">

**Author:** ![giuseppe\_villan](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/giuseppe_villan/32/11871_2.png) [@giuseppe\_villan](https://community.neo4j.com/u/giuseppe_villan)\
**Post date:** [December 20, 2021, 1:20pm UTC](https://community.neo4j.com/t/writing-in-read-access-mode-not-allowed-when-using-bloom-and-data-explorer-for-neo4j-plugins/49185/2 "2021-12-20T13:20:38Z")

</div>

@dipernaleonardo

I am quite sure that the bug is due to an incorrect handling of virtual nodes into Neo4j Bloom.  
That is, the `apoc.meta.graph()` return a virtual graph with virtual nodes and virtual relationships (see [Virtual Nodes/Rels - APOC Extended Documentation](https://neo4j.com/labs/apoc/4.1/virtual/virtual-nodes-rels/)), which are similar to "real" entities but with negative ids.

I think that Neo4j Bloom doesn't recognize this negative ids,  
in fact even this simple query fails, in Bloom:

```auto
CALL apoc.create.vNode(['Score'], {}) YIELD node AS n
CALL apoc.create.setProperty(n, 'properties', 'test') 
YIELD node RETURN node;

```
