Hi @Sanjay_Makwana, welcome to the community.
Seems like you have mentioned an incorrect value for write concern.
As mentioned in the screenshot posted by you, the following configuration is invalid:
{ w: "major$", ... }
Which should be replaced by the following:
{ w: "majority", ... }
Learn more about writeConcern in our documentation.
If you have any doubts, please feel free to reach out to us.