Buffering Timeout while saving a document

Good day everyone,

I have a schema of Permission like this below.

const PermissionSchema = new Schema({
    name: {
        type: String,
        index: true,
        required: true,
    isDeleted: {
        type: Boolean,
        default: false
    createdAt: {
        type: 'Date',
        default: Date.now,
        index: true,
    updatedAt: {
        type: 'Date',
        index: true,
let permissionCreated = new PermissionModel({name: "CAN_VIEW_TRANSACTION"});
            console.log(permissionCreated, 'permisison created????');
            let savedPermission = await permissionCreated.save();

That’s how i am creating the permission from the service file.

However i get this error

MongooseError: Operation `permissions.insertOne()` buffering timed out after 10000ms

I would appreciate if anyone has faced this issue and can share insights on how to resolve it.
Thank you all in advance