Azure Synapse Link: Failed to fetch TypeError
If you are using Microsoft Fabric with D365 Finance & Operations, you could be getting the following error:
Failed to fetch TypeError: Failed to fetch at https://athena-ui-prod.trafficmanager.net/bundle.xxxxxxxxxxx.js:x:xxxxxxxxx
Correlation Id: a4714b79-ef85-4381-bb72-3cdb2226cb7d
Session Id: 7465d969-f8b7-4584-9b2a-ee4593ddb4b9
I am using Windows 11, and I tried to access Azure Synapse Link for Dataverse with different browsers (Edge, Firefox and Chrome), but I continued receiving the same (or similar) error: NetworkError when attempting to fetch resource
. This is how it looked in Firefox:
I was also thinking that I had some firewall rules or VPN connection causing the issue, but that wasn’t the case.
When I reported this issue to Microsoft, they said the following:
This error typically indicates a network connection issue or a problem with permissions. Here are a few steps you can try to troubleshoot the issue:
Check Network Connection: Ensure that your internet connection is stable and there are no network restrictions or firewalls blocking the request.
Verify Permissions: Make sure that the service principal or identity you’re using has the necessary permissions to access both the Dataverse and the ADLS Gen2 storage.
Review Configuration: If you’re using a Spark pool for Delta Lake conversion, confirm that it is properly configured with sufficient resources. You might need to increase the number of nodes or change to a larger instance size temporarily2.
Disable V-net and Private Endpoints: If your Synapse workspace is set up in a V-net with private endpoints enabled, try creating a new workspace without these settings.
Browser Settings: Sometimes, browser settings or extensions can interfere with requests. Try disabling any browser extensions or ad blockers, or use a different browser to see if the issue persists.
The problem was actually caused by some stupid issue with Windows Security, so make sure you check Windows Security settings and see if you have any warnings there:
Failed to fetch TypeError – Conclusion
I don’t remember what exactly was the problem because I just clicked somewhere to fix the warning, but I hope this will help you check the right things when receiving this strange error.
There is also a Microsoft Learn resource that explains how to properly configure Azure Synapse Link for Dataverse, so make sure you did the configuration properly:
Create an Azure Synapse Link for Dataverse with your Azure Synapse Workspace
…and here are a couple of articles regarding security measures that you could check out and hopefully, be helpful:
Configure Azure Synapse Link for Azure SQL Database with network security
Azure Synapse connectivity settings