Azure / Azure/static-web-apps

Deployment Failure Reason: An unknown error has occurred.

Open
#348 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I've created SWA resource in Azure, and connected it to my GitHub repo, where it created the deployment workflows. I started out trying a deployment without an api-location, and that worked fine. I then moved my Azure Function code from it's separate repo into an `api/` folder and pointed the api-location to the path for the functions project and retried deployment. This time it fails with an unknown error while trying to deploy the Azure Function.

```
Function Runtime Information. OS: Windows, Functions Runtime: v3, .NET Core version: 3.1
Finished building function app with Oryx
Zipping App Artifacts
Done Zipping App Artifacts
Zipping Api Artifacts
Done Zipping Api Artifacts
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.2428578(s)
Status: InProgress. Time: 15.4844796(s)
Status: InProgress. Time: 30.8256391(s)
Status: InProgress. Time: 45.9461007(s)
Status: InProgress. Time: 61.1216657(s)
Status: InProgress. Time: 76.2432086(s)
Status: Failed. Time: 91.581539(s)
Deployment Failed :(
Deployment Failure Reason: An unknown error has occurred.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.