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

The fron-tend is not handling custom error responses #3

Open
luizhlelis opened this issue Mar 14, 2022 · 0 comments
Open

The fron-tend is not handling custom error responses #3

luizhlelis opened this issue Mar 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@luizhlelis
Copy link
Contributor

The login endpoint from Authentication API could return http errors (4*) with custom messages in body. Take a look at the following response example:

{
    "name": "Error",
    "message": "Bla Bla",
    "fromSandbox": true
}

even so, the front-end is not handling that message and shows an empty red box:

Screen Shot 2022-03-14 at 10 43 29

@luizhlelis luizhlelis added the bug Something isn't working label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant