[Some context for my error] I am building a reservation system using FullCalendar, and l am at the part where l am trying to send a created reservation or event to be stored on the database. When l create the event it populates on the calendar fine, but it will not save to the mongodb. I am using mongoldb compass. The error I’m specifically getting in the console is :
I have been googling for 2 days trying to solve this error. I have tried changing the proxy settings multiple ways. I have tried rewriting the server.js file. I have tried setting breakpoints to dive deeper into the issue to no avail. Any help would be much appreciated.