App Proxy - Trigger 404

shopjb
Tourist
6 0 1

Is there a way I can trigger the 404 page inside my App Proxy? Just returning a 404 status only shows a blank page.

0 Likes
achieveapplabs
Shopify Partner
472 36 74

Hi @shopjb ,

Here's a thought you can send Liquid syntax in an App Proxy response. So if you're able to send 404 why not copy the merchants 404 template code then send it as a response?

Here's some reference material: https://shopify.dev/tutorials/display-dynamic-store-data-with-app-proxies#proxy-response

Best, 

Sam - Owner @ Achieve Applabs

Install Approovly to create and track order approvals | We want to hear from you hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | Custom Shopify Apps achieveapplabs.com
0 Likes
shopjb
Tourist
6 0 1

That works. Thanks!