# Placement version mismatch detected

**URL:** <https://forums.percona.com/t/placement-version-mismatch-detected/39592>\
**Category:** MongoDB\
**Created:** [October 21, 2025, 9:24am UTC](https://forums.percona.com/t/placement-version-mismatch-detected/39592 "2025-10-21T09:24:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dasol](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dasol](https://forums.percona.com/u/dasol)\
**Post date:** [October 21, 2025, 9:24am UTC](https://forums.percona.com/t/placement-version-mismatch-detected/39592/1 "2025-10-21T09:24:48Z")

</div>

Hello, I’m restoring the Backup file to a new environment every day using PBM, but the following error occurred yesterday.

In the event of the following issues, I would like to ask you for advice on the cause and solutions.

-DB Version : 8.0.4  
-Sharded Cluster (ShardSever 3(P-S-S), ConfigServer 1)  
mongos log : “code”:13388,“codeName”:“StaleConfig”,“errmsg”:“placement version mismatch detected for DB.CollectionName”,“ns”:“DB.Collection”,“vReceived”:{“e”:{“$oid”:“685cae752be9f807c71ff072”},“t”:{“$timestamp”:{“t”:1750904437,“i”:13}},“v”:{“$timestamp”:{“t”:51,“i”:2}}},“vWanted”:{“e”:{“$oid”:“685cae752be9f807c71ff072”},“t”:{“$timestamp”:{“t”:1750904437,“i”:13}},“v”:{“$timestamp”:{“t”:52,“i”:0}}},“shardId”:“shard01”},“nRemotes”:2}}

If you “db.Collection.find()” , the following error occurs.  
“Failed to run query after 10 retries :: caused by :: placement version mismatch detected for”

Additionally,  
I also wonder if there is an option to check pbm logs in debug mode when doing pbmrestore.

Please check.  
Thank you.

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [October 21, 2025, 1:08pm UTC](https://forums.percona.com/t/placement-version-mismatch-detected/39592/2 "2025-10-21T13:08:30Z")

</div>

Hi, it seems some cached information is wrong… did you restart mongos routers after the restore as per the restore procedure?

---

<div class="post-metadata">

**Author:** ![dasol](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@dasol](https://forums.percona.com/u/dasol)\
**Post date:** [October 21, 2025, 1:56pm UTC](https://forums.percona.com/t/placement-version-mismatch-detected/39592/3 "2025-10-21T13:56:34Z")

</div>

Yes, I stopped the Mongos router before restoring and started the Mongos.

After the error, flashRouterConfig: 1 also ran, but it was not resolved.gos after the restoration.
