Hi Oblio,
sorry for the inconvenience you are facing. And thank you for the inputs above. just trying to cover every possible scenario to resolve your issue.
Since there are no APIs or functions, the 500 error is likely caused by a deployment issue, corrupted files, or routing misconfigurations. You can clear the Azure CDN cache from the portal (Configuration → Reset Content Cache) to rule out caching issues.
Even if the same artifact is used, deployments can fail silently. Check the Deployment History in the Azure Portal under the Static Web App to ensure the latest deployment was successful and without errors.
Confirm that the correct artifact was deployed using the URL /_latest/artifact
. Compare the results in both environments (production
and release-candidate
). If the timestamps or artifact details differ, redeploy using your Azure DevOps pipeline.
Even with the same code, production may have unique configurations like custom domains or SSL settings. Verify domain mappings under Custom Domains in the Azure Portal and check for any SSL or DNS-related issues.
Ensure your staticwebapp.config.json
or routes.json
is correctly configured. If the index.html
isn’t served by default, add one. Misconfigured routes can result in a 500 error.
Directly access static files like /index.html
or /logo.png
. A 404 or 500 error may indicate a missing file or failed deployment. If files are inaccessible, redeploy using the pipeline to ensure all files are present.
Please refer troubleshooting doc - https://learn.microsoft.com/en-us/azure/static-web-apps/troubleshooting
If you have any further assistant, do let me know.