FROM CACHE - en_header

App proxy returns 404

Jurbs
New Member
3 0 0

I’ve gone through this tutorial:
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

If I test the following URL 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 

 

Replies 5 (5)
oscprofessional
Shopify Partner
12491 1931 2479

Hello 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Jurbs
New Member
3 0 0

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.

oscprofessional
Shopify Partner
12491 1931 2479

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

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Jurbs
New Member
3 0 0

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

josephmcdermott
New Member
3 0 0

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.