# Mongo errors associated with mongodb\_exporter pmm jobs

**URL:** <https://forums.percona.com/t/mongo-errors-associated-with-mongodb-exporter-pmm-jobs/28493>\
**Category:** Percona Backup for MongoDB\
**Created:** [February 15, 2024, 5:54pm UTC](https://forums.percona.com/t/mongo-errors-associated-with-mongodb-exporter-pmm-jobs/28493 "2024-02-15T17:54:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kb2](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kb2/32/13226_2.png) [@kb2](https://forums.percona.com/u/kb2)\
**Post date:** [February 15, 2024, 5:54pm UTC](https://forums.percona.com/t/mongo-errors-associated-with-mongodb-exporter-pmm-jobs/28493/1 "2024-02-15T17:54:44Z")

</div>

`"c":"COMMAND", "id":23799, "ctx":"conn1210068","msg":"Aggregate command executor error","attr":{"error":{"code":166,"codeName":"CommandNotSupportedOnView","errmsg":"Namespace dbname.collection is a view, not a collection"}`

Seeing the above errors on few collections in mongo logs and connection source is localhoost and mongodb\_exporter job.

need help fixing these recurring errors!

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [February 15, 2024, 8:04pm UTC](https://forums.percona.com/t/mongo-errors-associated-with-mongodb-exporter-pmm-jobs/28493/2 "2024-02-15T20:04:46Z")

</div>

Hi @kb2  
This issue is going to be fixed in PMM 2.41.2, which is going to be released in march.  
For better visibility sharing jira task link: [[PMM-12805] - Percona JIRA](https://perconadev.atlassian.net/browse/PMM-12805)

---

<div class="post-metadata">

**Author:** ![kb2](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kb2/32/13226_2.png) [@kb2](https://forums.percona.com/u/kb2)\
**Post date:** [February 16, 2024, 3:13pm UTC](https://forums.percona.com/t/mongo-errors-associated-with-mongodb-exporter-pmm-jobs/28493/3 "2024-02-16T15:13:19Z")

</div>

Thanks for the update @nurlan
