Open RealGandy opened 3 weeks ago
Hey there @jakemartin-icl, mind taking a look at this issue as it has been labeled with an integration (monzo
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
monzo documentation monzo source (message by IssueLinks)
Thanks for reporting, there's a user with a similar issue on the HACS version too. It's hard to say what the issue is, as I can't debug it since mine's working. My current plan is to get monzopy to push the contents of the response to home assistant so we can see exactly how the API is responding in the logs.
In the meantime, have you tried removing and setting up the integration again? It'd rule out a failure to detect auth expiry at least
Oh... I think I may be using the HACS version as well, but I'll take a look at removing and setting it up again.
Just read the notes, so now know the difference
Thanks
Steps taken - have done this numerous times with the same outcome:
When I log into Monzo dev portal, it shows my OAuth client configuration for HomeAssistant
Thanks again for the extra info, it's a bit strange your auth flow isn't completing. That'd tend to suggest something is blocking the oauth callback. Is your OAuth redirecting to https://my.home-assistant.io/redirect/oauth and https://my.home-assistant.io set up to point at https?
If you haven't tried to the core version, you could maybe give that a go too. It is missing a couple of features, but I think it's a bit more stable.
Otherwise, I'll try and get the improved logging on the HACS version this weekend (though if your auth flow isn't completing now, this might not help)
After removing and attempting to re-add the configuration, the initial setup flow was not completing for over a week, trying multiple times. Yesterday, it eventually completed and data is now being collected as expected.
Whilst my issue is now resolved, the extra logging being proposed would certainly assist in future.
The problem
Since approx 09:00 on 29th October (GMT), the Monzo integration has stopped collecting data and is throwing errors in the log as shown below.
What version of Home Assistant Core has the issue?
Core-2024.10.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Monzo Bank
Link to integration documentation on our website
https://www.home-assistant.io/integrations/monzo/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response