Replies: 1 comment
-
|
I see this error in my logs too and wondering what causes it. Everything seems to be functioning correctly so it's accepting my credentials for some things just not the graphql endpoint. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I’m super new to HA
I have the carrier integration working great or so I thought… I keep getting these errors which seem to be related to login credentials not being accepted however I’m able to see and change all my settings for the thermostats. Can anyone help point me towards what the problem could be? Will attempt debug this weekend 🙈🙈
This error originated from a custom integration.
Logger: custom_components.ha_carrier
Source: custom_components/ha_carrier/carrier_data_update_coordinator.py:85
integration: Carrier Infinity (documentation, issues)
First occurred: 7:52:16 AM (5 occurrences)
Last logged: 12:56:20 PM
401, message='Unauthorized', url='https://dataservice.infinity.iot.carrier.com/graphql'
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/gql/transport/aiohttp.py", line 343, in raise_response_error
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url='https://dataservice.infinity.iot.carrier.com/graphql'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/ha_carrier/carrier_data_update_coordinator.py", line 85, in _async_update_data
energy_response = await self.api_connection.get_energy(system.profile.serial)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/carrier_api/api_connection_graphql.py", line 377, in get_energy
return await self.authed_query(operation_name=operation_name, query=query, variable_values=variable_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/carrier_api/api_connection_graphql.py", line 119, in authed_query
return await session.execute(query, variable_values=variable_values, operation_name=operation_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gql/client.py", line 1629, in execute
result = await self._execute(
^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/gql/client.py", line 1538, in _execute
result = await self.transport.execute(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/gql/transport/aiohttp.py", line 368, in execute
await raise_response_error(resp, 'No "data" or "errors" keys in answer')
File "/usr/local/lib/python3.13/site-packages/gql/transport/aiohttp.py", line 345, in raise_response_error
raise TransportServerError(str(e), e.status) from e
gql.transport.exceptions.TransportServerError: 401, message='Unauthorized', url='https://dataservice.infinity.iot.carrier.com/graphql'
Beta Was this translation helpful? Give feedback.
All reactions