Unsolvable 404 postman error

I cannot figure out why I am getting this 404 error. I have quadruple checked links, spelling, spaces, everything.

My server port is running and my database is connected

My url is http://localhost:8080/add-contact

This is my routes.js

const ContactList = require('./Model/ContactList');

app.post('/add-contact', async (request, response) => {
  const contactList = new ContactList(request.body);
  try {
    await contactList.save();
      status: 'Success',
      data: {
  } catch (err) {
      status: 'Failed',
      message: err
  • I checked the url spelling and for additional spaces
  • Checked I am connected to the right port
  • Made sure the body format is in JSON
  • Content Type is ‘application/json’

As a troubleshooting step, I would recommend a simple request to the API via curl.

If you get the same issue, then it would be appear to be something with your API rather than Postman specific.

404 is a not found error. Which means the server is responding to a point, but it can’t find the resource.

1 Like

I basically went to the settings in the windows app of postman , settings>proxy>uncheck the use system proxy box and it will cure your problem .

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.