# Deadlock error when inserting data into Neo4j

**URL:** <https://community.neo4j.com/t/deadlock-error-when-inserting-data-into-neo4j/31455>\
**Category:** Neo4j Graph Platform\
**Created:** [January 4, 2021, 2:14pm UTC](https://community.neo4j.com/t/deadlock-error-when-inserting-data-into-neo4j/31455 "2021-01-04T14:14:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajeevprasanna](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rajeevprasanna/32/14868_2.png) [@rajeevprasanna](https://community.neo4j.com/u/rajeevprasanna)\
**Post date:** [January 4, 2021, 2:14pm UTC](https://community.neo4j.com/t/deadlock-error-when-inserting-data-into-neo4j/31455/1 "2021-01-04T14:14:52Z")

</div>

I am trying to insert data into Neo4j using spring data.  
Encountered dead lock error. Not much information in logs to debug the issue.

Any idea how to read this error

> 2021-01-04 14:06:57 +0000 [DEBUG] from org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler in Neo4jDriverIO-2-1 - [5544d4a8-806] Resolved [TransientDataAccessResourceException: ForsetiClient[33] can't acquire ExclusiveLock{owner=ForsetiClient[85]} on NODE(1368), because holders of that lock are waiting for ForsetiClient[33]. Wait list:ExclusiveLock[Client[85] waits for [33]]; Error code 'Neo.TransientError.Transaction.DeadlockDetected'] for HTTP POST /user/create2021-01-04 14:06:57 +0000 [ERROR] from org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler in Neo4jDriverIO-2-1 - [5544d4a8-806] 500 Server Error for HTTP POST "/user/create"org.springframework.dao.TransientDataAccessResourceException: ForsetiClient[33] can't acquire ExclusiveLock{owner=ForsetiClient[85]} on NODE(1368), because holders of that lock are waiting for ForsetiClient[33]. Wait list:ExclusiveLock[Client[85] waits for [33]]; Error code 'Neo.TransientError.Transaction.DeadlockDetected' at org.springframework.data.neo4j.repository.support.Neo4jPersistenceExceptionTranslator.translateImpl(Neo4jPersistenceExceptionTranslator.java:105) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:

---

<div class="post-metadata">

**Author:** ![rajeevprasanna](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rajeevprasanna/32/14868_2.png) [@rajeevprasanna](https://community.neo4j.com/u/rajeevprasanna)\
**Post date:** [January 5, 2021, 3:32pm UTC](https://community.neo4j.com/t/deadlock-error-when-inserting-data-into-neo4j/31455/2 "2021-01-05T15:32:28Z")

</div>

any update on this? It is a blocker for me
