Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Missing token returns Generic error #692

Open
inimaz opened this issue Oct 25, 2024 · 0 comments
Open

[API] Missing token returns Generic error #692

inimaz opened this issue Oct 25, 2024 · 0 comments
Labels
API Concern only the codecarbon API bug Something isn't working Dashboard design dash python

Comments

@inimaz
Copy link
Contributor

inimaz commented Oct 25, 2024

When the access token is deprecated or it is missing, any action on the UI will redirect to a blank page with

{
"detail": "Generic error"
}

How to reproduce

Open the UI. Remove the user token.

Ideal solution

Redirect to the login page

@inimaz inimaz added bug Something isn't working API Concern only the codecarbon API Dashboard design dash python labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Concern only the codecarbon API bug Something isn't working Dashboard design dash python
Projects
None yet
Development

No branches or pull requests

1 participant