Back End Development and APIs Projects - File Metadata Microservice

Tell us what’s happening:

I’m experiencing a bug in item 4, and the current solutions aren’t working.

I did like this

app.post(‘/api/fileanalyse’, upload.single(‘upfile’), (req, res) => {
// The 4th requirement asks for name, type, and size
res.json({
name: req.file.originalname,
type: req.file.mimetype,
size: req.file.size // This is the value in bytes
});
});

Nice day bye!

###Your project link(s)

solution: https://69139a70-9519-4414-9c39-d358a58eb1e7-00-qrvwktizt9hw.pike.replit.dev

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15

Challenge Information:

Back End Development and APIs Projects - File Metadata Microservice

Welcome to the forum @gokdenizby

Are you getting any error messages in the console?

Happy coding

I am not getting any error codes and everything is working correctly and smoothly; the problem I’m experiencing is entirely on the website’s side.

I am also facing exactly the Problem with step 4, There are no error messages in the Console, Yet the Test is not passing.

Please open your own thread.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Do you have any idea what kind of solution there could be for this topic?

We have the same problem as this man, so it would be great if you could help. Thank you!