Skip to content

[BUG] Login screen displays only "unknown error" if account does not exist yet #115

@andre-stefanov

Description

@andre-stefanov

🐛 Describe the bug

There was a backend DB wipe. App prompted me to re-login. As i tried to enter my login credentials, the only error i saw was "unknown error".

Backend responded with:
HTTP 401
{"statusCode":401,"errors":[{"errorCode":"Unauthorized","errorDescription":""}]}

Possible issue could be a not cleared token in our cache that was sent with the login request. Since the DB was wiped, old token was not valid anymore and backend responded with 401 instead of the correct error code with error enum.

⚠️ Current behavior

"unknown error"

✅ Expected behavior

Correct error message, e.g. "Account does not exist"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions