Config duplicate key error

hello,
does anyone know how to fix duplicate key error ?
Error parsing YAML config: duplicate key: security.authorization(canonical key: security.authorization)

I tried to fix this issue multiple times; reconnecting and amending the config but no luck. Config is of correct YAML format.

thanks

Please remove duplicate entry
Below link can help

Security authorization has a duplicate entry in /etc/mongod.conf