Error
Error Code:
177
MongoDB Error 177: Zone Not Found
Description
MongoDB Error 177, 'Zone Not Found', indicates that an operation in a sharded cluster requires a zone that is either not defined or incorrectly configured. This typically occurs when performing operations or routing data in a tag-aware sharding environment where shard key ranges are associated with specific zones.
Error Message
Zone Not Found
Known Causes
4 known causesZone Not Defined
The requested zone name has not been properly defined or added to the sharded cluster configuration.
Incorrect Range-Zone Association
A shard key range relevant to the operation is not correctly associated with any defined zone, or the association is incomplete.
Typo or Case Mismatch
The zone name specified in an operation or configuration differs due to a typo or incorrect casing from the actual defined zone name.
Configuration Not Propagated
Recent changes to zone definitions or associations have not fully propagated across all configuration servers and mongos instances.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service