# Search UI "Generate Search Experience" Button Throws 404

**URL:** <https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [July 1, 2022, 10:13pm UTC](https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696 "2022-07-01T22:13:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchocky](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tchocky](https://discuss.elastic.co/u/tchocky)\
**Post date:** [July 1, 2022, 10:13pm UTC](https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696/1 "2022-07-01T22:13:41Z")

</div>

Hi all -

When on the Search UI page ([http://localhost:5601/app/enterprise\_search/app\_search/engines/poc-engine/search\_ui](http://localhost:5601/app/enterprise_search/app_search/engines/poc-engine/search_ui)) the "Generate Search Experience" button links to an old App Search URL ([http://localhost:3002/as/engines/poc-engine/search\_experience/preview?titleField=title&urlField=url](http://localhost:3002/as/engines/poc-engine/search_experience/preview?titleField=title&urlField=url)) throwing a 404. I tried playing around with a few different URL structures to find the correct link but didn't have much luck.

I'm on 8.3 and using the Docker Compose YML found at [Running Enterprise Search using Docker | Elastic Enterprise Search Documentation [8.3] | Elastic](https://www.elastic.co/guide/en/enterprise-search/current/docker.html#docker-compose-example)

Thanks

 ![Screen Shot 2022-07-01 at 4.10.54 PM](https://us1.discourse-cdn.com/elastic/original/3X/c/3/c324acb16a8205a9c64c7fac5c2c4781c9412d1a.png)  
 ![Screen Shot 2022-07-01 at 4.11.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f548d857a1ceb7f75936f1180fd066a4684b640e.jpeg)

---

<div class="post-metadata">

**Author:** ![Sander\_Philipse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sander_philipse/32/101890_2.png) [@Sander\_Philipse](https://discuss.elastic.co/u/Sander_Philipse)\
**Post date:** [July 4, 2022, 1:52pm UTC](https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696/2 "2022-07-04T13:52:56Z")

</div>

Hi @tchocky,

Are you encountering this immediately when you press the 'Generate search experience' button, or when you refresh the page? I'm asking because pressing the button generates a POST form request to the server to generate the page with a few parameters for that request only. Those parameters and the page disappear when you refresh, which will cause a 404 page like you're seeing.

---

<div class="post-metadata">

**Author:** ![tchocky](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tchocky](https://discuss.elastic.co/u/tchocky)\
**Post date:** [July 5, 2022, 7:20pm UTC](https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696/3 "2022-07-05T19:20:12Z")

</div>

Hey @Sander_Philipse - Thanks for the insight. That led me to see that the form was POSTing to localhost:3002 instead of kibana:3002 which I'm using as my local testing domain. POSTing to kibana:3002 works for me.

---

<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:** [August 2, 2022, 7:20pm UTC](https://discuss.elastic.co/t/search-ui-generate-search-experience-button-throws-404/308696/4 "2022-08-02T19:20:22Z")

</div>

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