# Error 404 on \[server\]/\_search (works fine on my other instance!)

**URL:** <https://discuss.elastic.co/t/error-404-on-server-search-works-fine-on-my-other-instance/263288>\
**Category:** Elasticsearch\
**Created:** [February 4, 2021, 6:51pm UTC](https://discuss.elastic.co/t/error-404-on-server-search-works-fine-on-my-other-instance/263288 "2021-02-04T18:51:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiago.preihs](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thiago.preihs](https://discuss.elastic.co/u/thiago.preihs)\
**Post date:** [February 4, 2021, 6:51pm UTC](https://discuss.elastic.co/t/error-404-on-server-search-works-fine-on-my-other-instance/263288/1 "2021-02-04T18:51:57Z")

</div>

Hello guys!

I am scratching my head to understand why the same **very simple** query works fine on one instance (v. 7.6.0) but does not work on my other instance (v. 7.9.3) - I get 404.

```auto
curl --location --request GET 'https://(instance_address):9243/_search' \
--header 'Authorization: Basic (instance user/pass)' \
--data-raw ''

```

When it works (instance A):  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/08107f994538ddb554ef9910056d370e58518189.png)

When it does not (instance B):  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/0/70d6ee313d0ebc28ef1df8b04c89b76e72ec9baa.png)

Interestingly enough when I run both queries within Kibana console both queries return valid results.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 4, 2021, 6:52pm UTC](https://discuss.elastic.co/t/error-404-on-server-search-works-fine-on-my-other-instance/263288/2 "2021-03-04T18:52:14Z")

</div>

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