-
-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Open
Description
The problem
Integration reports that “Authentication failed” - this is due to Monarch Money changing their GraphQL endpoint from “api.monarchmoney.com” to “api.monarch.com”
This is due to a dependency in the underlying Python libraries -> typedmonarchmoney -> monarchmoney
I proposed a change here that fixes this issue, but the maintainer of monarchmoney is not active. The issue is #179 and there is discussion about a fork of the library.
Not sure if there’s a workaround available (maybe changing the local copy of the library in Home Assistant to point to the new endpoint URL?)
What version of Home Assistant Core has the issue?
n/a
What was the last working version of Home Assistant Core?
n/a
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Monarch Money
Link to integration documentation on our website
https://www.home-assistant.io/integrations/monarch_money/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
File "/usr/local/lib/python3.13/site-packages/gql/transport/aiohttp.py", line 338, in execute
await raise_response_error(resp, "Not a JSON answer")
File "/usr/local/lib/python3.13/site-packages/gql/transport/aiohttp.py", line 321, in raise_response_error
raise TransportServerError(str(e), e.status) from e
gql.transport.exceptions.TransportServerError: 525, message='', url='https://api.monarchmoney.com/graphql'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/monarch_money/__init__.py", line 22, in async_setup_entry
await mm_coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 317, in async_config_entry_first_refresh
await self._async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 339, in _async_config_entry_first_refresh
if await self.__wrap_async_setup():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in __wrap_async_setup
await self._async_setup()
File "/usr/src/homeassistant/homeassistant/components/monarch_money/coordinator.py", line 65, in _async_setup
raise ConfigEntryError("Authentication failed") from err
homeassistant.exceptions.ConfigEntryError: Authentication failedAdditional information
Reactions are currently unavailable