Static Web App deployment failure

tuomas.inkinen 96 Reputation points
2021-08-17T10:53:53.237+00:00

Hello! Our Static web App deployments are suddenly failing with an unclear error message: Failure during content distribution.

123946-screenshot-2021-08-16-at-143322.png

The project is a Gatsby site with about 4500 pages deployed from Github. Deployments were working before and only thing that changed was that there's now much more pages/content than before, now about 4500 pages / 350MB data.

Any idea what could be causing this?

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

Answer accepted by question author
  1. tuomas.inkinen 96 Reputation points
    2021-08-20T11:58:44.393+00:00

    We actually managed to get things working. The trick was to "sanitize" our created pages' paths.

    Before we had paths with non-ascii characters like: "/koskâvuotâ/ohtsâškoodán-päikkikuávlu-mun-tiäđám",
    which were changed to: "/koskavuota/ohtsaskoodan-paikkikuavlu-mun-tiadam".

    After that the deploys started working.

    I can still open a support ticket if you want to investigate this further?

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bryan Trach 17,837 Reputation points Microsoft Employee Moderator
    2021-08-18T02:23:21.803+00:00

    @tuomas.inkinen The one item you did not mention was the tier your static web app is running on. If this is a free tier static web app, then it sounds like you hit the 250 MB max size per deployment limit.

    Storage (Included Qty. / Max Size per Deployment) 0.50 GB / 0.25 GB / per app Source

    If running the free tier, can you please scale up to the standard tier and attempt your deployment again?

    If you are already running a standard tier app and still encountering this error with your deployments, please reply back to this message so we can continue our investigation.


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.