Azure / Azure/data-api-builder

GraphQL Response -> better handling of changed conn string resulting in db authN error (currently http500)

Open
#1,130 5 comments 0 reactions 0 assignees View on GitHub
bug bug-bash
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

When sending a graphql request with an invalid db connection string, the result returns 500 as suppose to return 401. See below screenshot.

Steps to reproduce:
1. From SWA, link a db, and make sure getting a 200.
2. Go to db, regenerate a PK.
3. Send the request again, getting 500.
4. From SWA, unlink and link again, getting 200.

![image](https://user-images.githubusercontent.com/40870773/215175705-603ea039-0dfa-4f15-9ce5-7244cf7944bd.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.