Thank you for your reply.
MongoDB is using V5.0.
Also, this time I was trying to use transaction functionality with standalone MongoDB.
Since the transaction function is not supported in standalone,
I think I’ll give up on using the transaction function this time.