Closed 2Psycho closed 1 year ago
Male sure you copy paste ALL three (Callback URL, Identifier, Secret) from the page application page at api.nibeuplink.com. You likely have an error in one of the.
eeuh I when copying there was a leading space...
:)
When I try to add my nibe installation to HA it stays stuck on the verification of the API interface. In the log file it indicates a wrong key:
`ogger: custom_components.nibe.config_flow Source: custom_components/nibe/config_flow.py:114 Integration: Nibe Uplink Heat Pumps (documentation) First occurred: 10:15:58 (2 occurrences) Last logged: 10:16:11 Error on converting code
aiohttp.client_exceptions.ClientResponseError: 401, message="{'error': 'invalid_client', 'error_description': 'The client secret was incorrect.'}", url=URL('https://api.nibeuplink.com/oauth/token')
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/config/custom_components/nibe/config_flow.py", line 114, in async_step_auth await self.session.get_access_token(user_input["code"]) File "/usr/local/lib/python3.10/site-packages/nibeuplink/session.py", line 128, in get_access_token await raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/nibeuplink/session.py", line 26, in raise_for_status raise UplinkResponseException(data.get("errorCode"), data) from e nibeuplink.exceptions.UplinkResponseException: UNKNOWN_CODE: Unknown error None {'error': 'invalid_client', 'error_description': 'The client secret was incorrect.'} ` I have already made a new connection in de nibe site without succes,