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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024