I am having trouble uploading images – I get a 404 error “Request Failed with status code 404”

and when I inspect the page these errors:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

xhr.js:247 POST http://localhost:3000/api/admin/upload 404 (Not Found)

Is there any fix to this – I cannot see any errors in my code.. thanks!

Ricardo Asked question April 10, 2023