We were having same issue (with mongodump) since 2023-03-01; and it seems to be an issue with the latess update of mongodb-database-tools. In the latest version (100.7.0-1) we were facing this issue, so we have to downgrade to previous version and everything is working again:
- mongodb-database-toolsが最新の状態でDocumentDBに対してmongodumpするとエラーになるらしい
- yum downgradeとかで最新じゃないmongodb-database-toolsを入れる
- Dockerを使ってる場合はmongo:6.0.2を使うなど