You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while trying to add integration I'm facing below error:
Credential are good - when I'm giving wrong pass it says "Incorrect Password"
Please find below part of a logfile:
Traceback (most recent call last):
File "/config/custom_components/tech/config_flow.py", line 53, in async_step_user
info = await validate_input(self.hass, user_input)
File "/config/custom_components/tech/config_flow.py", line 26, in validate_input
if not await api.authenticate(data["username"], data["password"]):
File "/config/custom_components/tech/tech.py", line 65, in authenticate
result = await self.post(path, post_data)
File "/config/custom_components/tech/tech.py", line 56, in post
raise TechError(response.status, await response.text())
custom_components.tech.tech.TechError: (400, '{"error":"Bad Request"}')
Have anyone faced the same issue and have a solution?
The text was updated successfully, but these errors were encountered:
Hello,
while trying to add integration I'm facing below error:
![image](https://user-images.githubusercontent.com/64210551/194054207-e9a24515-cac4-4b0a-a86f-603170f55d5d.png)
Credential are good - when I'm giving wrong pass it says "Incorrect Password"
Please find below part of a logfile:
Traceback (most recent call last):
File "/config/custom_components/tech/config_flow.py", line 53, in async_step_user
info = await validate_input(self.hass, user_input)
File "/config/custom_components/tech/config_flow.py", line 26, in validate_input
if not await api.authenticate(data["username"], data["password"]):
File "/config/custom_components/tech/tech.py", line 65, in authenticate
result = await self.post(path, post_data)
File "/config/custom_components/tech/tech.py", line 56, in post
raise TechError(response.status, await response.text())
custom_components.tech.tech.TechError: (400, '{"error":"Bad Request"}')
Have anyone faced the same issue and have a solution?
The text was updated successfully, but these errors were encountered: