How to fix ""Error: {"message":"Failed to fetch","stack":"TypeError: Failed to fetch\n at https://portal.azure.com/Content/Dynamic/XXXXXXX","isError":true}

AniDeswandikar 0 Reputation points
2024-09-06T07:39:45.7466667+00:00

Everyday we develop our app using App Service. It works fine till the evening. In the evening we start getting this error: "Error: {"message":"Failed to fetch","stack":"TypeError: Failed to fetch\n ". Next day it starts working again.

After searching for this error, all forums say that this is a throttling issue. But we are just developing our app. We might be making less than 100 calls to our APIs. We are running on S1 plan. How can it throttle for such low loads?

We tried migrating from S1 to S2. But still no relief. How can we fix this issue?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,676 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 15,295 Reputation points
    2024-09-07T11:00:46.23+00:00

    Try to to add https://portal.azure.com to your CORS allowed origins. someone here ran into the same issue. Check this article for more info: https://video2.skills-academy.com/en-us/answers/questions/1304180/unable-to-test-run-azure-function-form-the-portal

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

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.