Skip to content

[Bug]: Petlibro LITE | Unexpected exception during validation: Login attempt failed: Code: 1101, Message: MEMBER_NOT_EXIST #32

Description

@bredmor

What happened ?

During initial configuration, I enter the username and password I created for a new account that has been added to my home through the Petlibro LITE app. I've verified the credentials are correct and have used them to log in to the app on 2 different mobile devices.

When I click "Submit", I receive this UI error,
image
and the included log output.

Relevant log output

Traceback (most recent call last):
  File "/config/custom_components/petlibro/api.py", line 206, in login
    data = await self.session.request("POST", "/member/auth/login", json={
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/petlibro/api.py", line 106, in request
    raise PetLibroAPIError(f"Code: {data.get('code')}, Message: {data.get('msg')}")
custom_components.petlibro.exceptions.PetLibroAPIError: Code: 1101, Message: MEMBER_NOT_EXIST

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/petlibro/config_flow.py", line 125, in _validate_input
    self.token = await api.login(self.email, self.password)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/petlibro/api.py", line 229, in login
    raise PetLibroAPIError(f"Login attempt failed: {e}")
custom_components.petlibro.exceptions.PetLibroAPIError: Login attempt failed: Code: 1101, Message: MEMBER_NOT_EXIST

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingCanceledSomething that will not take placeWon't fixThis will not be worked on

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions