Azure / Azure/static-web-apps

Ability to trace requests forwarded to connected API

Open
#1,403 0 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

**Is your feature request related to a problem? Please describe.**
It is frustrating that I find no traces of my failing api requests. The requests are failing with a 500 error and message "Backend call failure". I find no traces of the requests in the connected WebApplication, so I don't think they are ever reaching the backend api server. It would be helpful if the SWA had logged more information about this, so I could have figured out what's wrong. I have tried to enable Application Insights for the SWA but it says it's not able to since I do not have any Azure Functions. I don't want to add any Azure Functions because I already have a WebApplication REST API to connect the SWA to.

**Describe the solution you'd like**
That SWA would be better at telling me why the api requests are failing. It's like black whole right now.

**Describe alternatives you've considered**
I see no alternatives.

**Additional context**

Screenshot 2024-01-26 at 09 54 51
Screenshot 2024-01-26 at 09 54 32

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.