Unexpected token is not valid JSON

SyntaxError: Unexpected token 'e', "ee-square.jpg" is not valid JSON

Before all, I want to say I am beginner to back end.
How can be fixed this syntax error?
Explications are welcome, I wanna understand why I broke the add image cover input and and working with these files.

I followed WebDevSimplified playlist until this video https://youtu.be/Xm5MzWvklbI
Source: https://github.com/INDavid04/indavid04mybrary
Website: https://indavid04mybrary.onrender.com/books/new
image.png
YouTubeWeb Dev Simplified
In this video we will be improving the file upload process by:
1. Implementing FilePond
2. Adding a file upload preview
3. Implementing drag and drop upload
4. Storing files in the database for Heroku

Code For This Video:
https://github.com/WebDevSimplified/Mybrary/tree/v1.3

Previous Video:
https://youtu.be/Zi2UwhpooF8

Next Video:
https://you...
File Upload Setup - Node.js/Express/MongoDB Course #4
GitHub
The project is made following WebDevSimplified backend playlist (link in readme) - INDavid04/indavid04mybrary
GitHub - INDavid04/indavid04mybrary: The project is made following ...
Was this page helpful?