Database returning a 204 No Content

Hi everyone, so I’m having an issue where the database is returning a 204 No Content when I try to contact the API. I built a simple social media site with users, auth, posts, comments and used Node.js for the backend, and React for the frontend. The code worked seamlessly till about a week ago, I was able to log in, create a new post, like a post, and comment on it, but now every database operation that I try to perform returns a 204 No Content, even though none of the code has changed. For a little more insight no errors are being thrown, and error handling is pretty robust on both the backend and frontend. I tried creating a simplified route that doesn’t involve the database and it worked like a charm everytime I hit that endpoint. After some debugging I believe the issue lies with the database and how it’s communicating with both my frontend and Postman. I am able to access the database on MongoDBCompass though.
Please let me know your thoughts or any suggestions you might have.
Thank you very much in advance.