Recurring "Backend call failure" 500 errors on Static Web Apps managed Next.js SSR backend (Standard tier)

Erik B 20 Reputation points
2026-08-04T17:26:10.65+00:00

We're seeing recurring 500 Internal Server Error responses with the literal body text Backend call failure on our production Static Web App, which hosts a hybrid Next.js app using SSR on the platform-managed backend.

Resource details:

  • Static Web App, Standard tier
  • Region: Global (managed)
  • APIs blade shows: Backend Type = Web App, Backend Resource Name = (managed)

Reproduction (most recent occurrence, Aug 4 2026 16:34:34 GMT):

GET / HTTP/1.1
HTTP/1.1 500 Internal Server Error
Backend call failure

Pattern: This has now happened at least 3 times — each time, a full redeploy with no code changes has resolved it. It typically persists until we manually redeploy — 10 consecutive requests over 20 seconds all returned the same 500 before our last redeploy.

What we've ruled out:

  • Recent code deploys (3 months had passed since our last deploy)
  • Azure regional outages (status page clean)
  • DNS issues (resolving correctly)
  • Third-party dependency outages (Contentful status clean)

The core problem: we have Application Insights enabled on this resource, but it captures zero telemetry during these incidents — no requests, no exceptions. Our working theory is that the managed backend Web App is failing to invoke before our application code (and the App Insights SDK within it) ever executes, making this invisible to us on our end.

Questions:

  1. Is there a known failure mode where the managed Next.js SSR backend on Static Web Apps fails to invoke, that wouldn't surface in app-level Application Insights?
  2. Are there resource limits or constraints on the managed backend (even on Standard tier) that could cause this, and is there any way to view metrics/logs for that managed layer specifically?
  3. Would switching to a linked (self-managed) backend via the "Configure linked backend" option give us better reliability and visibility here, versus continuing to rely on the Microsoft-managed one?

Any guidance — especially from anyone who's hit this same Backend call failure message on a managed SSR backend — would be appreciated.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

0 comments No comments

Answer accepted by question author
Allan Solomon Mejia 8,500 Reputation points
2026-08-05T20:05:52.2+00:00

Hello @Erik B

Based on your description, this appears to be occurring before the request reaches your application, which would explain why Application Insights shows no requests or exceptions. The "Backend call failure" response is typically generated by the platform when the managed backend cannot successfully invoke the SSR application.

Since you've already ruled out code changes, DNS, and third-party dependencies, and a redeploy consistently restores service, it points more toward a platform-managed backend issue than an application defect.

A few suggestions:

  • Review Diagnose and Solve Problems for your Static Web App and check Activity Log around the failure window to see if there were any platform events (restarts, configuration updates, or infrastructure actions).
  • Verify whether the issue coincides with any deployment infrastructure events, even if your application wasn't redeployed.
  • If possible, enable additional server-side logging (for example, via your Next.js application) to confirm whether requests ever reach the SSR runtime.
  • If the issue is reproducible, capture the x-ms-request-id, x-azure-ref, and timestamp from the failing responses. These identifiers are invaluable for Microsoft Support to trace requests through the platform.

Regarding your questions:

  1. Yes, it's possible for failures in the platform-managed SSR infrastructure to occur before your application starts, meaning Application Insights won't capture them.
  2. Microsoft doesn't expose detailed telemetry for the managed backend layer, so customer visibility into that infrastructure is limited.
  3. A linked (self-managed) backend can provide significantly better observability and operational control because you own the hosting environment, logging, scaling behavior, and diagnostics. While it doesn't necessarily eliminate platform issues entirely, it does reduce the number of opaque components in the request path.

Given that this has occurred multiple times and is only resolved by redeploying, I'd recommend opening a Microsoft Support case and providing:

  • Exact UTC timestamps of each occurrence
  • Static Web App name and region
  • Correlation/request IDs from the failed responses
  • Confirmation that no Application Insights telemetry was generated during the failures
  • The observation that a redeploy with no code changes immediately restores service

Those details should help the engineering team determine whether the managed SSR backend is encountering an infrastructure issue that isn't visible at the application layer.

Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

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