Mongodb assigning null for array from axios post request of an array of objects

I have been beating my head agaisnt the wall for 2 days now with this one. I am trying to send an array of objects through axios to the backend where I find the document i want to update, and set the array inside of it to the new array from the front end. I either get successful update responses with the database not actually updating the array, or the array inside the document updates but the value of the array becomes null. Ive verified inside the axios post request that the data is actually an array of objects and the req body tells me its sending an array of objects, but nothing seems to work.

FormData:

[
    {
"name": String,
"value": Number,
"formType": String,
    },
    {
"name": String,
"value": Number,
"formType": String,
    },
    {....},
]

Axios POST Function:

const createFacilityForm = async (formData, facilityId, token) => {
  const config = {
    headers: {
      Authorization: `Bearer ${token}`,
    },
  }
  const response = await axios.post(
    API_URL + facilityId + '/createform', formData, config
  )
  return response.data
}

Backend Request Handler:

const createFacilityForm = asyncHandler(async (req, res) => {
  try {
    const { formData } = req.body
    const form = await Facility.findById(req.params.id).updateOne({
      $set: {
        formData: formData,
      },
    })
    res.status(200).json(form)
  } catch (error) {
    res.status(500).json(error)
  }  
})

Facility Model:

const mongoose = require('mongoose')

const facilitySchema = mongoose.Schema(
  {
    districtId: {
      type: mongoose.Schema.Types.ObjectId,
      required: true,
      ref: 'District',
    },
    districtName: {
      type: mongoose.Schema.Types.String,
      required: true,
      ref: 'District',
    },
    name: {
      type: String,
      required: [true, 'Please add a name.'],
    },
    address: {
      type: String,
      require: [true, 'Please add an address.'],
    },
    formData: [
      {
        name: { type: String },
        value: { type: Number },
        formType: { type: String },
      },
    ],
  },
  {
    timestamps: true,
  }
)
module.exports = mongoose.model('Facility', facilitySchema)

if i could have anyones advice on how to fix this, id greately appreciate it