Read Mongodb shell error details

Hi everyone, I am trying to read the details object, how can I achieve this via mongo sh?

MongoServerError: Document failed validation
Additional information: {
  failingDocumentId: ObjectId("62e4068f266bd3be3f21150b"),
  details: {
    operatorName: '$jsonSchema',
    schemaRulesNotSatisfied: [
      {
        operatorName: 'properties',
        propertiesNotSatisfied: [
          { propertyName: 'color', details: [ [Object] ] },
          { propertyName: 'age', details: [ [Object] ] },
          { propertyName: 'gender', details: [ [Object] ] }
        ]
      },
      {
        operatorName: 'required',
        specifiedAs: {
          required: [ 'name', 'title', 'occupation' ]
        },
        missingProperties: [ 'name' ]
      }
    ]
  }
}