# Postman gets 404 not found

**URL:** <https://community.postman.com/t/postman-gets-404-not-found/8620>\
**Category:** Help Hub\
**Created:** [October 28, 2019, 5:40pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620 "2019-10-28T17:40:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![TB582](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@TB582](https://community.postman.com/u/TB582)\
**Post date:** [October 28, 2019, 5:40pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/1 "2019-10-28T17:40:01Z")

</div>

I have an API which I imported into postman. I setup all my creds etc. I hit send in postman and the response is a 404…

{code} Response Body

Not Found{code}

yet I take that same request, hit the code button, copy the curl command as is - paste it into terminal and it works! - so whats wrong with postman that it gets a 404?

---

<div class="post-metadata">

**Author:** ![tmccann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tmccann/32/3550_2.png) [@tmccann](https://community.postman.com/u/tmccann)\
**Post date:** [October 28, 2019, 6:47pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/2 "2019-10-28T18:47:10Z")

</div>

Hey @TB582 welcome to the Postman community.

Can you give us a bit more information here? Sounds like something simple I am sure but without an example its hard to tell for sure what it could be.

Could you share with us the call? randomizing anything private of course such as URL and auth info, etc.

---

<div class="post-metadata">

**Author:** ![TB582](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@TB582](https://community.postman.com/u/TB582)\
**Post date:** [October 28, 2019, 6:51pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/3 "2019-10-28T18:51:04Z")

</div>

Sure - here’s the curl command that works:  
curl -X GET   
‘[https://myFavSite.com/api/v2/syndications?&client\_id=me&api\_token=excellent](https://myFavSite.com/api/v2/syndications?&client_id=me&api_token=excellent)’   
-H ‘Accept: _/_’   
-H ‘Accept-Encoding: gzip, deflate’   
-H ‘Cache-Control: no-cache’   
-H ‘Connection: keep-alive’   
-H ‘Host: [myFavSite.com](http://myFavSite.com)’   
-H ‘Postman-Token: 2403524023’   
-H ‘User-Agent: PostmanRuntime/7.19.0’   
-H ‘cache-control: no-cache’

---

<div class="post-metadata">

**Author:** ![tmccann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tmccann/32/3550_2.png) [@tmccann](https://community.postman.com/u/tmccann)\
**Post date:** [October 29, 2019, 9:30am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/4 "2019-10-29T09:30:48Z")

</div>

Thx for that @TB582. Everything looks to be correct.

Have you tried opening the Postman Console (View -\> Show Postman Console) to see exactly what is being sent? Just to verify what is being sent in Postman is the same as what you see above.

---

<div class="post-metadata">

**Author:** ![francobellu](https://avatars.discourse-cdn.com/v4/letter/f/5e9695/32.png) [@francobellu](https://community.postman.com/u/francobellu)\
**Post date:** [November 22, 2020, 7:49pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/5 "2020-11-22T19:49:56Z")

</div>

HI, I’m having the same problem.

I’m doing a POST on the this url: [https://mot2-mockserver-5satdtbe5a-nw.a.run.app/login](https://mot2-mockserver-5satdtbe5a-nw.a.run.app/login)  
…using the following headers:  
Content-Type: application/json  
Content-Length: 43  
and the body being a json:  
{“username”: “3457”,“password”: “pruebas1”}

I get a 404  
If I execute the curl command that the code panel of Postman shows me , I get a 200.

Why is that?

---

<div class="post-metadata">

**Author:** ![kaoutharmallouli](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kaoutharmallouli](https://community.postman.com/u/kaoutharmallouli)\
**Post date:** [March 29, 2021, 10:41am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/6 "2021-03-29T10:41:58Z")

</div>

hello i have this warn  
can anyone help me?  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/2/b2d29fc0fd552e5b4186a22d571a9b12b818a4a8.png)

 ![postmaan](https://us1.discourse-cdn.com/getpostman/original/3X/2/c/2c474ce95f224560f7fa8d483d27c1f96c932284.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/7/1763ac2d26c5494ce953fd62cb187bd66bc86c9f.png)

---

<div class="post-metadata">

**Author:** ![pranavdavar](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pranavdavar/32/9152_2.png) [@pranavdavar](https://community.postman.com/u/pranavdavar)\
**Post date:** [March 29, 2021, 12:27pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/7 "2021-03-29T12:27:06Z")

</div>

Hi @kaoutharmallouli, Welcome to the community!

Seeing the screenshot, your code seems to be on Spring.

It seems there is issue with association of method to your function. Can you please check.

Generally, @GetMapping associates the method to index function.

Hope this helps 🙂

---

<div class="post-metadata">

**Author:** ![pierre.pirault](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pierre.pirault/32/8982_2.png) [@pierre.pirault](https://community.postman.com/u/pierre.pirault)\
**Post date:** [June 22, 2021, 8:01pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/8 "2021-06-22T20:01:40Z")

</div>

I’m experiencing the same exact problem as was reported 2 years ago. Only this time my requests are being made to an Azure REST API. Request works fine using curl in terminal or executing via Go code, but not in Postman. Carefully ensured all headers matched exactly, same request payload, same method, and same exact url. No cookies are involved.

---

<div class="post-metadata">

**Author:** ![agin.patrick](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@agin.patrick](https://community.postman.com/u/agin.patrick)\
**Post date:** [July 12, 2021, 1:29pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/9 "2021-07-12T13:29:50Z")

</div>

Same issue for me. Did you find a solution to your problem @pierre.pirault ?

---

<div class="post-metadata">

**Author:** ![michaelmadhukar](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@michaelmadhukar](https://community.postman.com/u/michaelmadhukar)\
**Post date:** [November 16, 2021, 8:01am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/10 "2021-11-16T08:01:39Z")

</div>

I have the same issue now. @pierre.pirault / @agin.patrick please let me know the solution for the same. Thank you!

---

<div class="post-metadata">

**Author:** ![subham.sarker07](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@subham.sarker07](https://community.postman.com/u/subham.sarker07)\
**Post date:** [May 13, 2022, 6:59am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/11 "2022-05-13T06:59:11Z")

</div>

Hi,  
In my case, I have a post mapping and with all required headers and body the request reached to the api and calls it successfully (checked from application log), but in postman response it is 404. Any idea?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/c/5c48972de1619001be76ccfe26cca98495351c47.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/8/87506fec20f056285fc5b5e9a2be4cd5383b4c0e.png)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/2/721681f6c6dca72034f956496ef03cec96ada285.png)

---

<div class="post-metadata">

**Author:** ![subham.sarker07](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@subham.sarker07](https://community.postman.com/u/subham.sarker07)\
**Post date:** [May 13, 2022, 7:55am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/12 "2022-05-13T07:55:21Z")

</div>

Hi,  
In my case, I have a post mapping and with all required headers and body the request reached to the api and calls it successfully (checked from application log), but in postman response it is 404. Any idea?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/c/5c48972de1619001be76ccfe26cca98495351c47.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/3/39ec53f7e3c78c6d0494070566b2a7622f8ad1a1.png)  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/a/ab9ddca635e4d39b15672e20c8bd2dcfe52c4407.png)

---

<div class="post-metadata">

**Author:** ![huzhenyu-fy](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@huzhenyu-fy](https://community.postman.com/u/huzhenyu-fy)\
**Post date:** [September 23, 2022, 10:32am UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/13 "2022-09-23T10:32:55Z")

</div>

I run into the same issue when using postman macos agent, solved by uncheck system network proxy :

> **[在 Mac 上的“网络”偏好设置中更改代理设置](https://support.apple.com/zh-cn/guide/mac-help/mchlp2591/mac)**
>
> 在 Mac 上，使用“网络”偏好设置的“代理”面板来管理互联网代理服务。

---

<div class="post-metadata">

**Author:** ![aerospace-observer-6](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aerospace-observer-6](https://community.postman.com/u/aerospace-observer-6)\
**Post date:** [November 23, 2022, 3:27pm UTC](https://community.postman.com/t/postman-gets-404-not-found/8620/14 "2022-11-23T15:27:49Z")

</div>

i am getting this exact behavior.  
perfectly good execution with curl, even using the _code_ out of postman.  
postman request gets a 404.  
console looks perfect, disabled ‘use system proxy’, nothing helps.

i am attempting to use postman as a simple desktop tool to quickly iterate through various payloads, but it seems broken in non-obvious ways and i’ve wasted over an hour.

pretty sad.
