Update comment and certification error

So i did some investigating on why i couldn’t update comment. And while experimenting
with update comment and the uri
mongodb+srv://{database}:{password}@mangocluster-hpqer.mongodb.net/test?ssl=true&ssl_cert_reqs=CERT_NONE&retryWrites=false&w=majority
i have a feeling the uri is the problem…
when i changed retryWrites= true to retryWrite=false
it seemed to have gave me the ability to update within the cluster
still … i could not receive the ticket but i thought id leave this out there for someone to investigate. i think i might just get the ticket by switching to a different os lol.

here’s the solution to my issue. i had this before

"""
        pipeline = [
            {
            '$match': {
            '_id': ObjectId(id)
            }
            },  {
            '$lookup': {
                'from': 'comments', 
                'let': {
                    'id': '$_id'
                    }, 
                'pipeline': [
                {
                    '$match': {
                        '$expr': {
                            '$eq': [
                                '$movie_id', '$$id'
                                ]
                            }
                        }
                    }, {
                        '$sort': {
                            'field': -1
                        }
                    }
                ], 
                'as': 'comments'
            }
        }
        ]
        """ 
        pipeline = [
        {
            "$match": {
                "_id": ObjectId(id)
            }
        },
        {
            "$lookup": {
                "from": "comments",
                "let": {"id": "$_id"},
                "pipeline": [
                    {"$sort": {"date": -1}},
                    {"$match": {
                        "$expr": {
                            "$eq": ["$movie_id", "$$id"]
                        }
                    }}
                ],
                "as": "comments"
            }
        }
    ]
````````````````````````
and i changed it to this.

pipeline = [
        {
            "$match": {
                "_id": ObjectId(id)
            }
        },
        {
            "$lookup": {
                "from": "comments",
                "let": {"id": "$_id"},
                "pipeline": [
                    {"$sort": {"date": -1}},
                    {"$match": {
                        "$expr": {
                            "$eq": ["$movie_id", "$$id"]
                        }
                    }}
                ],
                "as": "comments"
            }
        }
    ]

sorry about giving false theories but still ^ when i changed it to false it did update.