Deploy fails "No matching Static Web App was found or the api key was invalid" — GitHub policy, nothing changed since last successful deploy

Đang mở
#1,824 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, github-actions
Lĩnh vực
ci-cd, cloud

Hướng nghiên cứu

This is a deployment failure from the Azure Static Web Apps service, not a source-code defect in this repository, and the payload names no file, test or entry point to change. Start by reproducing the workflow conditions from the report and comparing the GitHub Actions OIDC token claims against the app's deployment authorization policy. Done would mean a confirmed root cause, such as a service-side policy or permission change, plus a documented workaround, which needs Azure-side access the newcomer may not have.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Since 22 Nov 2026 every deploy of our Static Web App (Free plan, deployment authorization policy: GitHub) fails at "Looking for event info" with:
The content server has rejected the request with: BadRequest — Reason: No matching Static Web App was found or the api key was invalid.
DeploymentId: c3df9b0e-260b-460c-88b6-daa128f4584b

The last successful deploy was on 15 Nov 2026. Between the two runs nothing changed:

same workflow file (push to master, id-token: write, github_id_token passed from core.getIDToken())
same action SHA Azure/static-web-apps-deploy@v1 = 1a947af9992250f3bc2e68ad0754c0b0c11566c9
same client image staticappsclient:stable@sha256:026b202feacf67ec0acd4846a1d17953f6c3c8ff912a1c0ec29aa6000a495f12
Already checked: deployment token reset and GitHub secret updated (no change); Source shows the correct repo/branch; "Azure App Service Creates" OAuth app is authorized; no resource locks; I have Owner; subscription is Active.
Also, the app's Configuration blade is entirely read-only for me (Owner), so the deployment authorization policy cannot be switched to "Deployment token"

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
347
Fork
68
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/static-web-apps

Tất cả issue của Azure/static-web-apps

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.