Hi Shopify, I'm Long and I'm a developer. I'm creating a mini-app to track revenue for merchants. In the progress of building my app. I got an issue about getting "403 Forbidden longpc.myshopify.com" when I create a webhook with the topic "orders/create".
This is my code snapshot: https://prnt.sc/9tMyX2stfcfC More information surrounding ShopifyAuth:
Please help me Shopify 🥺 Best regards ❤️
I am Gina from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot. I am here to support you.
If you are receiving a 403 Forbidden error when trying to create a webhook with the topic "orders/create" in your Shopify mini-app, there are a few things you can check.
1. Make sure that the access token you are using has the necessary permissions to create webhooks. In this case, you will need the "write_script_tags" scope.
2. Verify that the URL you are using for the webhook is correct and accessible. It's possible that the URL is incorrect or there is an issue with your server that is preventing the webhook from being created.
3. Check that your Shopify app is properly authenticated with the merchant's store. Sometimes, authentication can expire or become invalid, which can cause issues when creating webhooks or other API requests. You mentioned that the access token and session are still valid, but it's still a good idea to double-check and make sure there are no authentication issues.
If you have checked these things and are still encountering the 403 Forbidden error, you may want to reach out to Shopify's support team or developer community for further assistance. They may be able to help you troubleshoot the issue and identify any other potential causes.
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023