Firebase Admin SDK Firestore without Prisma: TypeError: The “payload” argument must be of type object. Received null
I am working on a Next.js project where I integrate Firebase Admin SDK to handle Firestore database operations and used clerk for authentication process. However, I keep encountering the following error when trying to add a document to a Firestore collection: