How to troubleshoot "Failed to fetch" error when getting data sources from search service?

Jarkko Lagus 30 Reputation points
2023-11-06T19:04:57.3666667+00:00

I am trying to list the data sources under a search service in Azure Portal, but I keep getting the error message:

{"message":"Failed to fetch","stack":"TypeError: Failed to fetch\n at https://portal.azure.com/Content/Dynamic/E97lPFqfRZHr.js:229:21858","isError":true}

What could be the cause of this error?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,106 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,987 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 18,646 Reputation points
    2023-11-13T21:16:18.9666667+00:00

    @Jarkko Lagus we're sorry to hear you're facing this issue. What data source are you trying to list?

    The "Failed to fetch" error message typically means that there was an issue with the network connection or the request was blocked by a firewall or other security measure. Here are a few things you can try to troubleshoot the issue:

    1. Check your network connection. Check your network connection to ensure that you have internet access. Verify that there are no network restrictions or firewalls blocking the requests
    2. If you're accessing Azure from a corporate network, it's possible that your firewall is blocking the request. You can try accessing Azure from a different network or contact your IT department to see if they can help you troubleshoot the issue.
    3. It's possible that your browser settings are blocking the request. You can try disabling any browser extensions or ad blockers that may be interfering with the request.
    4. If you're still experiencing issues, you can try accessing Azure from a different browser to see if the issue is specific to your current browser.
    0 comments No comments

  2. Zakir, Ali Asgar 10 Reputation points
    2024-05-14T08:14:57.3166667+00:00

    Hi @Grmacjon-MSFT

    I am facing the same issue when I Test/Run my azure function, here is the scenario,

    I have tried for few different sets of data, for few sets it works fine but for few it gives this error. Tried checking the logs as well but there isn't any log which says that an error occurred. Tried several ways to figure the issue but no luck.

    Can you please help me here?

    Thanks!!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.