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?
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025