"Unexpected Error" while trying to add the integration #102
Device model nameGranary Feeder Device model numberPLAF103 Device typeFeeder What is the issue?Im trying to login in HA to the integration but Im getting an "Unexpected error". TroubleshootingIm already using a secondary account, and I made sure to change the password to be 15 characters long with no special characters. I also tested with 2 different accounts, my main one and the secondary one, same error. Home Assistant LogsLogger: custom_components.petlibro.config_flow
Source: custom_components/petlibro/config_flow.py:125
integration: PETLIBRO (documentation, issues)
First occurred: 11:31:14 PM (7 occurrences)
Last logged: 11:58:37 PM
Unexpected exception during validation: Login attempt failed: Code: 1101, Message: MEMBER_NOT_EXIST
Traceback (most recent call last):
File "/config/custom_components/petlibro/api.py", line 211, in login
data = await self.session.request("POST", "/member/auth/login", json={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<10 lines>...
})
^^
File "/config/custom_components/petlibro/api.py", line 111, 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 234, in login
raise PetLibroAPIError(f"Login attempt failed: {e}")
custom_components.petlibro.exceptions.PetLibroAPIError: Login attempt failed: Code: 1101, Message: MEMBER_NOT_EXIST |
Replies: 4 comments 2 replies
|
@pocho015 What region did you create your account in on the app? |
|
Hi |
|
I'm getting this same error. I am using a US account and my password is 15-digit alphanumeric. This is an account I shared from my app and when I login to the app as this user, the device is there. |
|
@pocho015, @pckeller29, & @jasonbwilliams make sure you look over the Account Management and PetLibro Password Limitation in the wiki. From what I’ve noticed, creating an account on the app is completely separate from their web domains. It looks like no matter which region you pick, as long as you create the account through the app, it lets you access the API. P.S: Make sure you are going through the Petlibro app, and not the Petlibro Lite App. |
@pocho015, @pckeller29, & @jasonbwilliams make sure you look over the Account Management and PetLibro Password Limitation in the wiki.
From what I’ve noticed, creating an account on the app is completely separate from their web domains. It looks like no matter which region you pick, as long as you create the account through the app, it lets you access the API.
P.S: Make sure you are going through the Petlibro app, and not the Petlibro Lite App.