Skip to content

[API] Missing token returns Generic error #692

@inimaz

Description

@inimaz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIConcern only the codecarbon APIDashboarddesign dash pythonbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions