# Transient data access exception even after retries

**URL:** <https://community.neo4j.com/t/transient-data-access-exception-even-after-retries/58696>\
**Category:** Drivers & Stacks\
**Tags:** aura, migrated\
**Created:** [December 9, 2022, 9:47am UTC](https://community.neo4j.com/t/transient-data-access-exception-even-after-retries/58696 "2022-12-09T09:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![potato](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@potato](https://community.neo4j.com/u/potato)\
**Post date:** [December 9, 2022, 9:47am UTC](https://community.neo4j.com/t/transient-data-access-exception-even-after-retries/58696/1 "2022-12-09T09:47:15Z")

</div>

Hi, in one of my customer-facing services, I am getting

```auto
org.springframework.dao.TransientDataAccessResourceException: Server at neo4j-core-xxxxxxx-xxx.production-orch-xxxx.neo4j.io:7687 is no longer available; Error code 'N/A'; nested exception is org.neo4j.driver.exceptions.SessionExpiredException: Server at neo4j-core-xxxxxxx-xxx.production-orch-xxxx.neo4j.io:7687 is no longer available

```

From my understanding, I was supposed to retry these queries, which should have run usually the second time. But I am using reactive neo4j in my spring boot application.

I am doing it like this

```auto
...
neo4jdbQueryMono
.onErrorResume(TransientDataAccessResourceException.class, ex -> neo4jdbQueryMono)
...

```

And I still have this exception in the logs. Can someone tell me where I have gone wrong and what can be done to avoid this exception? Thanks in advance!
