Azure Static Web Apps + Vite: JS served as text/html (MIME type wrong)
I am deploying a Vite + React application to Azure Static Web Apps using GitHub Actions. The deployment completes successfully, but when I open the site I get a blank page. The browser DevTools shows this error: Failed to load module script: Expected a…
Azure Static Web Apps
Azure SWA giving HTTP 500 Internal Server Error
This morning one of our Azure SWA started giving us internal server errors. This is on the main environment, all the preview environments on the same SWA still work. We did not do any deployments this morning prior to this happening. We have tried…
Azure Static Web Apps
Unable to renew App Service Domain for Static Web App: Subscription is not eligible to create an App Service Domain
I currently have a static web app with an App Service Domain that is about to expire. When I try to renew the domain I get an error: Subscription <subscription-id> is not eligible to create an App Service Domain. My subscription plan type is Azure…
Azure Static Web Apps
Orphaned custom domain binding from deleted subscription blocking Static Web Ap
Domain: codewrinkles.com and www.codewrinkles.com Issue: Domain was configured in an Azure subscription that was deleted years ago. Current behavior: New Static Web App shows domain as "Validated" but returns 404 with certificate for…
Azure Static Web Apps
Using internationalised custom domain names on Azure Static Web Apps
Team is working with a number of clients who wish to use internationalised domain names, example [www.mācronincluded.com]. When adding custom domains, both the original and Punycode versions fail to validate. CName redirect also doesn't work due to…
Azure Static Web Apps
Can't disable enterprise-grade edge on static web app
Can't disable enterprise-grade edge on static web app the status is showing as disabling and no status update for more than 1 hour now. { "enterpriseGradeCdnStatus": "Disabling" }
Azure Static Web Apps
Unable to renew App Service Domain for Static Web App: Subscription is not eligible to create an App Service Domain
I currently have a static web app with an App Service Domain that is about to expire. When I try to renew the domain I get an error: Subscription <subscription-id> is not eligible to create an App Service Domain. My subscription plan type is Azure…
Azure Static Web Apps
Azure Static Web Apps deploying Vite app fails — JavaScript served as text/html (main.tsx MIME type error)
I am deploying a Vite + React frontend to Azure Static Web Apps using GitHub Actions. The deployment succeeds, but when visiting my site: link removed The browser shows a blank page, and DevTools logs: main.tsx:1 Failed to load module script: Expected a…
Azure Static Web Apps
I have upgraded the free subscription to basic pay as you go subscription. After upgrade, the option upgrade subscription is not showing in overview page of subscription.
I have upgraded the free subscription to basic pay as you go subscription. After upgrade, the option upgrade subscription is not showing in overview page of subscription.
Azure Static Web Apps
StaticWebApp build/deploy job runs successfully but APIs/managed functions are not deployed correctly
I build and deploy my static web app withou error via GitHub actions (workflow and log below). In Azure, the Production environment statis is ready and the webapp/front-end works, but fails/throws error when it calls an API. The APIs/managed functions…
Azure Static Web Apps
GitHub Actions fails for Azure SWA
Hi all I am trying to deploy my Next.js project to Azure SWA, which I had been able to in the past. I was gone for 3 months and now I am having trouble getting the pipeline to work again. I had an error in the deploy phase that read along the lines of…
Azure Static Web Apps
Nasty Orphaned Azure Tenant lying around locking a custom domain
I signed up to a 365 account when I bought my domain through GoDaddy, and set up an Azure Static Website on it with a custom domain attached. Then I realised that I didnt have enough control over the 365/Entra with GoDaddy, so I deleted the 365 account…
Azure Static Web Apps
Region-service compatibility issue
I cannot create a Static Web App because the allowed regions policy lists regions (spaincentral, centralindia, switzerlandnorth, austriaeast, uaenorth), but Static Web Apps are unavailable in these regions. The portal shows only other regions, preventing…
Azure Static Web Apps
Unable to delete Custom Domain in my Static Web App
I am unable to delete stardraw.cloud as my custom domain on my Static Web App. The Status is Deleting but has been like this for several days now. I see the resolution of an identical question being Microsoft had to provide a…
Azure Static Web Apps
Can't disable enterprise-grade edge on static web app
After the latest FrontDoor incident, we're unable to turn off enterprise-grade edge. I can't create a support ticket for this, I don't know why (I have dev support plan on the subscription). Can somebody help please?
Azure Static Web Apps
Can't create Static Web App – region not allowed in Azure for Students
I'm using an Azure for Students subscription and trying to deploy a Static Web App. This service is only supported in a few regions (e.g., westeurope, eastus2), but my policy only allows regions like israelcentral, polandcentral, etc. Is it possible to…
Azure Static Web Apps
When setting up a custom domain in static webapp, the alias and cname infomation isn't showing up
I've validated my txt on my DNS but when I go to grab my information nothing shows up in the azure portal. So I can't set up my dns, this is a new problem it was working fine last month.
Azure Static Web Apps
Custom Domain Validation
I have verified my custom domain. Under Actions, this link is displayed: Add a CNAME, ALIAS or A record Clicking on that displays the screen which suggests adding a To finish adding your custom domain, add the following record with your DNS provider…
Azure Static Web Apps
How to use PostgreSQL in Azure web service which has Db integrated
I am using Azure to deploy my Django App which uses PostgreSQL. I am using integrated web App resouce which has Web Services and PostgreSQL in it. but when i am trying to run python manage.py dhshell : it give me error CommandError: You appear not…
Azure Static Web Apps
How to fix the build and deployment error in git hub for static web app
Run Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: *** repo_token: *** action: upload skip_app_build: true app_location: ChargeUp output_location: dist/ChargeUp/browser /usr/bin/docker run --name…