Duke-GCB / Duke-GCB/D4S2

Improve Logging / Error reporting - bad local config is producing HTTP 503 DataServiceUnavailable

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

On my local machine, trying to get a list of project transfers via http://localhost:8000/api/v2/duke-ds-project-transfers/, the DRF browser shows the following error:

```
HTTP 503 Service Unavailable
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
"detail": "'NoneType' object has no attribute 'client_id'"
}
```

It appears to be catching an exception due to GCB-web-auth misconfiguration, but reporting it as DataServiceUnavailable.

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.