Some sharding related commands (e.g.: removeshard) are only taking the server:port form of the shard. Go through all the sharding commands and make sure they take the shard name as well.