App reviews, troubleshooting, and recommendations
Hello everyone,
Thank you in advance for your help, I want to rebuild one of my app with the new stack remix->prisma.
So I just started and want to do a simple query with graphql in my app.jsx
export const loader = async ({ request }) => {
const { admin } = await authenticate.admin(request);
admin.graphql(
`#graphql
query getProducts {
products (first: 3) {
edges {
node {
id
title
}
}
}
}`
).catch((error)=>{
console.log(error);
});
return json({ apiKey: process.env.SHOPIFY_API_KEY || "" });
};
Unfortunately I get a forbidden error :
source: '{"errors":{"networkStatusCode":403,"message":"GraphQL Client: Forbidden","response":{}}}'
So I already checked :
Scopes,
AppURL,
Client ID,
Client Secret
Honestly it make several hours I try to find the origin of issue and I am totally lost.
I would be really happy if someone can provide me insight (if you need more part of code I will provide).
Sometime, I also facing with the same issue. Does anyone have the way to fix it?
In my case it allways helps to reset the app´s Authentication Tokens
shopify app dev --reset
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