Customizing Shopify App Installation Error Page
When a user tries to install our app in their Shopify store and encounters an unknown error, Shopify displays a generic error page (like 404) asking them to contact the developers. Is there a way to customize this error message to provide more specific guidance or support links? If so, how can we implement it?
6 Replies
@evidanary
Hello,
That means that you have an error in your installation code. Please refer to your logs for more information
@Chocci_Milk here's the
Original Message/404 page:
Error Message: A problem occured while installing this app for shop 8c4bc9-3.myshopify.com.
Please contact the developer of this app to help you troubleshoot the issue.
We'd like to change to a different 404 page:
New Message:
Error Message: A problem occured while installing this app for shop 8c4bc9-3.myshopify.com.
Please email The App support team at xxx@app.xxx to help you troubleshoot the issue.
You can't change the contents of the error page at the moment. We have plans to make it updateable or at least display a better message in the future
PS: Please don't ping Gadget employees unless we haven't responded within 24 hours (during our 9-5 Mon-Fri EST work week). We treat pings as emergencies and it can be disruptive to our small team
oh sorry about that Antoine. And thanks for your reply.
If we can't change contents of the error page, then can we catch the error and redirect the user to a custom 404 page if there are errors during installation?
I don't think that you can redirect from the install action.