{
    "error": "creation_error",
    "errors": {
        "code": 11000,
        "writeErrors": [
            {
                "err": {
                    "index": 0,
                    "code": 11000,
                    "errmsg": "E11000 duplicate key error collection: ScoutCamp.campingunits index: _id_ dup key: { _id: ObjectId('644584456d92e56b24196218') }",
                    "op": {
                        "_id": "644584456d92e56b24196218",
                        "createdAt": "2023-04-23T19:17:25.551Z",
                        "updatedAt": "2023-04-23T19:17:25.551Z",
                        "type": "bungalow",
                        "name": "a",
                        "size": "22",
                        "capacity": 2,
                        "beds": {
                            "single": 0,
                            "double": 0,
                            "bunk": 0
                        },
                        "bathroom": {
                            "private": false,
                            "showers": 0,
                            "toilets": 0
                        },
                        "notes": "",
                        "feePerNight": 2,
                        "__v": 0
                    }
                },
                "index": 0
            }
        ],
        "result": {
            "ok": 1,
            "writeErrors": [
                {
                    "err": {
                        "index": 0,
                        "code": 11000,
                        "errmsg": "E11000 duplicate key error collection: ScoutCamp.campingunits index: _id_ dup key: { _id: ObjectId('644584456d92e56b24196218') }",
                        "op": {
                            "_id": "644584456d92e56b24196218",
                            "createdAt": "2023-04-23T19:17:25.551Z",
                            "updatedAt": "2023-04-23T19:17:25.551Z",
                            "type": "bungalow",
                            "name": "a",
                            "size": "22",
                            "capacity": 2,
                            "beds": {
                                "single": 0,
                                "double": 0,
                                "bunk": 0
                            },
                            "bathroom": {
                                "private": false,
                                "showers": 0,
                                "toilets": 0
                            },
                            "notes": "",
                            "feePerNight": 2,
                            "__v": 0
                        }
                    },
                    "index": 0
                }
            ],
            "writeConcernErrors": [],
            "insertedIds": [
                {
                    "index": 0,
                    "_id": "644584456d92e56b24196218"
                },
                {
                    "index": 1,
                    "_id": "6447fe1010dca5f9da783d8b"
                }
            ],
            "nInserted": 0,
            "nUpserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "nRemoved": 0,
            "upserted": [],
            "opTime": {
                "ts": {
                    "$timestamp": "7226023471812182096"
                },
                "t": 28
            }
        },
        "insertedDocs": []
    }
}