Azure / Azure/static-web-apps

Can't link a backend to my Static Web App preview environment

Open
#1,540 2 comments 6 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

As explained [here](https://github.com/Azure/static-web-apps/issues/960#issuecomment-2338045005) it's not possible right now to link any API to my preview environment. Error says "An error has occurred" even before I click on _Link_. Clicking does not help.
![image](https://github.com/user-attachments/assets/4e160a1b-3496-4abe-b094-ba0d9b64232e)

**To Reproduce**
Steps to reproduce the behavior:
1. Deploy a Static App on a non-production environment
2. On _API_ menu, click on the related _link_
3. Select Web App and other required values from drop-down list
4. See screenshot the error

Note: It's apparently the same for Functions

**Expected behavior**
Well, I don't expect an error message and instead have my static app linked to the backend API

**Screenshots**
See above and here trying with az CLI
![image](https://github.com/user-attachments/assets/19a49689-93ea-4ca8-8742-3ee8f2534368)

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.