App reviews, troubleshooting, and recommendations
I have created a Shopify custom app using remix so in theme extension I am fetching the data from my app routes that I have defined like this /badge-data .
I have setup the app proxy in partners page also like this:
Subpath prefix : /apps
Subpath : /badge
Proxy URL : <DOMAIN>/badge-data
In the theme extension I am fetching data like this
async function getBadgeData() {
try {
const response = await fetch("/apps/badge", {
method: "get",
});
console.log(response);
if (!response.ok) {
throw new Error("Network response was not ok");
}
const data = await response.json();
console.log("data=", data);
return data;
} catch (error) {
console.log("error", error);
}
}
getBadgeData();
There can be only one proxy per app in a store, so if you are using the same proxy that is "/apps/badge" for all the apps then it may unintentionally convert it to "/apps/badge-1". Be careful of that, and to verify it go Settings > Apps and Sales channel > Your app three dots > View Details from your admin page and check the actual proxy. Hopefully this solves your problem
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025