App reviews, troubleshooting, and recommendations
I am building a Shopify App that needs to create a webhook with the orders/create topic to get the address of each new order.
However when I run the below code I get the following error:
await shopify.post({ path: '/admin/api/2023-04/webhooks.json', data: { webhook: { address: `https://${process.env.SHOPIFY_APP_HOSTNAME}/api/v1/shopify/webhook`, topic: 'orders/create', format: 'json', } } });
Response:
{ code: 403, statusText: 'Forbidden', body: { errors: 'You do not have permission to create webhooks with orders/create topic. This topic contains protected customer data. See https://partners.shopify.com/XXX/apps/XXX/customer_data for more details.' }, headers: { ... } }
When I go to the URL in the error message, there is a notice above the form which says "If you’re installing on a development store, select your data use in step 1 to access protected customer data." As you can see in the screenshot below I have completed step 1 of the form but I still cannot create webhooks with the orders/create topic on my development stores. Does anyone know how I can resolve this?
I'm also stuck on this error. Have you found the solution?
fill out the form. This is the way
What about development or staging apps? You have to create a listing and everything...
Did you ever find a solution to this? I am having the same problem where I have completed step 1 of the form but I still cannot create webhooks with the orders/create topic on my development stores
Did you fill out step 2 of the form?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024