Unable to Fetch Data from External Custom Backend in Shopify Minis

Hello Shopify Team,

I am currently developing a Minis application and have encountered an issue that I cannot fully understand.

I am unable to make API requests to my external backend, even though I have properly configured the manifest.json file in my development environment, including the backend domain and port. My backend server is configured with public CORS access for all origins.

To further troubleshoot, I temporarily exposed the backend to the public internet, but the issue still persists. The Android emulator has full internet connectivity and can successfully reach the backend address (192.1xx.xxx.xxx:8000) when both devices are connected to the same Wi-Fi network. However, whenever I attempt to fetch data from the backend within the Minis application, the request fails immediately at the fetch() stage.

Because of this, I am wondering whether Shopify Minis imposes any restrictions on outbound network requests to external backends.

Could you please clarify if there are any network limitations, security policies, or additional configurations required for Minis applications to communicate with external APIs? I would also appreciate any suggestions or recommended debugging steps for this situation.

Thank you for your time and support.

Hi,

Thank you for your question. Can you share the error you got from the fetch()request to your external backend?