Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I am new to the shopify app development. I was trying on running the delivery customization app but I got the "Error forwarding web request: AggregateError".
All I did it just following guide from this page Sample Code section: https://shopify.dev/docs/apps/build/checkout/delivery-shipping/delivery-options/build-function
ps. I have tried on create app following the scaffold app tutorial: https://shopify.dev/docs/apps/build/scaffold-app and the app is successfully run
Hi Phyllistlt,
At which point exactly are you seeing the error appear?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Liam,
I get the error when loading the complied app in the browser. First type "shopify app dev" and have all the file successfully complied, then press p to load into the browser. The error appear in the middle when the app loading in
"Error forwarding web request: AggregateError" typically indicates that there are multiple issues occurring simultaneously when the app is trying to load. There's a couple things you can check to troubleshoot this issue:
1. Inspect the browser's developer console for any additional error messages that might provide more context about what is failing.
2. Ensure that the code follows the tutorial closely and that there are no typos or missing configurations.
3. Verify that all necessary dependencies are correctly installed and up to date. Sometimes, outdated packages can lead to unexpected errors.
4. Make sure that all required environment variables are set correctly. Missing or incorrect values can cause issues during the app's execution.
5. Check if there are any network issues that might be affecting the app's ability to communicate with Shopify's APIs
Try the above steps to see if it fixes your issue - if you're still seeing this issue, could you share the store URL and we can try to look into this a bit deeper?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Could you provide any more detail on the error, eg stack trace?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Liam,
Sorry for the late reply. I have tried to create a new app agian but the error still exist.
FYI, the shopify cli, node js and git should be in the latest version.
I have share the screen shot on the process of creating the new app. For the store url: quickstart-7e15d1ab.myshopify.com