Getting exception on running sh.status() command on MongoDB sharded cluster
It was becuase notablescan property enabled in my mongo config servers. After disable notablescan, command is working fine. you can check status of notablescan by running this command.

db.adminCommand( { getParameter: 1, notablescan: 1 } )


Output would be like below if notablescan is enabled.

{
  "notablescan": true,
  "ok": 1
}