Error while executing replicaSetGetStatus for replica set

Hi Team,

Results in below error when MongoHealthGatheringSystemTask executes below command in admin DB of newly created replica set, accessed as admin user. But able to execute the same below command successfully via GUI. Kindly help for the same.

command:
{ replSetGetStatus: 1 }

Error:
Error getting/updating mongodb replica set stats for env-group “xyz”. Reason: Command “replSetGetStatus” wasn’t executed successfully for node “00.000.00.00:27017”