Why does my static web app respond with 500?

Oblio 46 Reputation points
2025-03-12T18:04:47.8066667+00:00

... and how do I troubleshoot that?

I have a static web app hosted in Azure that has a 'release candidate' environment. I've deployed my app to both; they both show a status of "ready". I can reach the app on the 'release candidate' environment when I click the 'browse' link. However, when I do the same on the 'production' slot, I get a "500: Internal Server Error" azure page. How do I troubleshoot that? There's no log to review. The app clearly works under the other environment and it's the same code. What's the underlying error?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,099 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,671 Reputation points
    2025-03-12T18:10:22.8633333+00:00

    Hello Oblio:

    I would recommend going to your Application Insights or Diagnostic Logs under the Monitoring section of your App Service. You may have to enable this feature to get more insight into your application.


    If this is helpful please accept as answer or upvote.

    Best regards,

    Dillon Silzer | Cloudaen.com | Cloudaen Computing Solutions

    1 person found this answer helpful.

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.