input must be a 24 character hex string, 12 byte Uint8Array, or an integer

BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer
    at new ObjectId (file:///dist/server.js:43618:24)
    at getPublicQuiz (file:///dist/server.js:123814:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///dist/server.js:123820:12