# App proxy returns 404

**URL:** <https://community.shopify.com/t/app-proxy-returns-404/4252>\
**Category:** Store Design\
**Created:** [June 28, 2019, 12:28pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252 "2019-06-28T12:28:07Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

A Shopify app proxy was configured, but requests to the store-facing proxy URL returned a 404 instead of reaching the app’s proxy endpoint. The main question was whether the storefront URL should forward to the configured external proxy URL.

Key troubleshooting points raised:
- Removing the extra path segment (`app_path`) was suggested, but the 404 still occurred.
- A missing route on the app server was identified as another likely cause. In this context, a route means a backend endpoint that can receive the proxied request from Shopify.
- The app was built with Shopify App CLI using Node.js.

The most useful later update clarified the likely root cause in local development:
- App proxy requests are made by Shopify’s backend, not directly by the browser.
- Because of that, the proxy target must be publicly accessible.
- A local-only development URL caused the 404, and switching to Ngrok resolved it.

Outcome: the issue appears resolved for at least one similar case, with public accessibility of the proxy URL being the key requirement.

<div class="post-metadata">

**Author:** ![Jurbs](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@Jurbs](https://community.shopify.com/u/Jurbs)\
**Post date:** [June 28, 2019, 12:28pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/1 "2019-06-28T12:28:07Z")

</div>

I’ve gone through this tutorial:  
[https://help.shopify.com/en/api/guides/application-proxies](https://help.shopify.com/en/api/guides/application-proxies)

…and setup my app proxy as follows:

 ![Screen Shot 2019-06-28 at 8.23.46 AM.png](https://canada1.discourse-cdn.com/shopifyforum/original/4X/0/5/b/05ba3adcfd84f74023840acb1fdf71bf35ca7755.png)

If I test the following URL [https://jspizza.myshopify.com/apps/my-app-proxy/app\_path/](https://jspizza.myshopify.com/apps/my-app-proxy/app_path/)

…I receive a 404.

Should that redirect to this url?:  
[https://my-app-proxy.com/app\_proxy/app\_path](https://my-app-proxy.com/app_proxy/app_path)

---

<div class="post-metadata">

**Author:** ![oscprofessional](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/oscprofessional/32/367832_2.png) [@oscprofessional](https://community.shopify.com/u/oscprofessional)\
**Post date:** [June 28, 2019, 1:46pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/2 "2019-06-28T13:46:40Z")

</div>

Hello [Jurbs](https://community.shopify.com/user/587688),

There can be two possibilty:-

1. remove app\_path and then check.

2. Have you created route for this. if not then please create one and then check.

---

<div class="post-metadata">

**Author:** ![Jurbs](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@Jurbs](https://community.shopify.com/u/Jurbs)\
**Post date:** [June 28, 2019, 6:14pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/3 "2019-06-28T18:14:45Z")

</div>

1. still gives me a 404

2. I’ve not created a route. I’m not sure how to create a route to the app proxy or how that piece works. The Shopify App Proxy documentation is lacking in that area.

---

<div class="post-metadata">

**Author:** ![oscprofessional](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/oscprofessional/32/367832_2.png) [@oscprofessional](https://community.shopify.com/u/oscprofessional)\
**Post date:** [June 29, 2019, 5:16am UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/4 "2019-06-29T05:16:01Z")

</div>

Which language you are using to develop this. Laravel,codeignter or any other.

---

<div class="post-metadata">

**Author:** ![Jurbs](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@Jurbs](https://community.shopify.com/u/Jurbs)\
**Post date:** [June 30, 2019, 1:23pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/5 "2019-06-30T13:23:14Z")

</div>

Shopify App CLI (Node JS version) [https://github.com/Shopify/shopify-app-cli](https://github.com/Shopify/shopify-app-cli)

---

<div class="post-metadata">

**Author:** ![josephmcdermott](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@josephmcdermott](https://community.shopify.com/u/josephmcdermott)\
**Post date:** [November 19, 2020, 4:24pm UTC](https://community.shopify.com/t/app-proxy-returns-404/4252/6 "2020-11-19T16:24:38Z")

</div>

Just in case it helps some people, as I was banging my head against the wall on this. I was using a local dev environment to test the Shopify App signup and App page processes, which work fine as the requests come from directly your browser.

The app-proxy, on the other hand, involves Shopify’s backend (not your browser) making an HTTP request to your Proxy URL to download the contents of your page.

In my case, the Proxy URL I was using was not publicly accessible, so once I switched to use Ngrok it worked fine.
