# MongoDB "cannot be found" when clicking each record in the table

**URL:** <https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156>\
**Category:** Help me!\
**Created:** [April 5, 2023, 2:55pm UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156 "2023-04-05T14:55:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filip](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/filip/32/4187_2.png) [@Filip](https://community.forestadmin.com/u/Filip)\
**Post date:** [April 5, 2023, 2:55pm UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156/1 "2023-04-05T14:55:16Z")

</div>

## Feature(s) impacted

All collections are showing up on the dashboard and each record is also visible, but whenever we try to click into each record for a detailed view we get “cannot be found” error.

## Observed behavior

All collections are showing up on the dashboard and each record is also visible, but whenever we try to click into each record for a detailed view we get “cannot be found” error.  
If we inspect the error we get detail:“Record does not exists” name: “NotFoundError”. But the record is there so it’s impossible that it cannot be found. This does not make sense because the records show up in the tables, but when clicking detailed view it’s all the sudden “Not Found”.

## Expected behavior

Clicking into each record in the collection should open the detailed view.

## Failure Logs

chunk.675.4c3af32….js:2 [forest] 🌳🌳🌳 Unexpected error in details view:

1. n {isAdapterError: true, stack: ‘Error: Ember Data Request GET [https://api.gambling](https://api.gambling)…assets/chunk.675.4c3af32594cf4b1c973b.js:2:52820)’, description: undefined, fileName: undefined, lineNumber: undefined, …}
2. description: undefined
3. errors: Array(1)  
1. 0: {name: ‘NotFoundError’, detail: ‘Record does not exists’, status: 404}

## Context

- Project name: Gambling Golfer

- Team name: Operations

- Environment name: Production

- Agent (forest package) name & version:  
@forestadmin/agent": {  
“version”: “1.8.3”,  
“@forestadmin/forestadmin-client”: “1.1.9”

- Database type: MongoDB

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [April 5, 2023, 3:25pm UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156/2 "2023-04-05T15:25:47Z")

</div>

Hi @Filip 👋 which version of mongoose do you use?

---

<div class="post-metadata">

**Author:** ![Filip](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/filip/32/4187_2.png) [@Filip](https://community.forestadmin.com/u/Filip)\
**Post date:** [April 5, 2023, 5:08pm UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156/3 "2023-04-05T17:08:53Z")

</div>

Mongoose: 5.12.7  
Forestadmin-datasource-mongoose: 1.3.1

@Arnaud_Moncel

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [April 6, 2023, 7:30am UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156/4 "2023-04-06T07:30:04Z")

</div>

Hi @Filip unfortunately we does not support mongoose 5x.  
Can I suggest you to see [this thread](https://community.forestadmin.com/t/record-not-found-when-i-click-on-it/6155) and try to upgrade mongoose 🙏?

---

<div class="post-metadata">

**Author:** ![Filip](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/filip/32/4187_2.png) [@Filip](https://community.forestadmin.com/u/Filip)\
**Post date:** [April 23, 2023, 12:11pm UTC](https://community.forestadmin.com/t/mongodb-cannot-be-found-when-clicking-each-record-in-the-table/6156/5 "2023-04-23T12:11:11Z")

</div>

This resolved the issue, thank you!
