core: [Integration: Modern Forms] Header fields are too long for server to interpret
The problem
In the last few days the Modern Forms integration is returning the following error:
Failed setup, will retry: Invalid response from API: (431, {'message': 'Header fields are too long for server to interpret'})
With debug logging enabled the only relevant entries for Modern Forms are:
2025-06-12 13:12:40.464 DEBUG (MainThread) [homeassistant.components.modern_forms.coordinator] Finished fetching modern_forms data in 0.118 seconds (success: False)
What version of Home Assistant Core has the issue?
2025.6.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Modern Forms
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modern_forms/
Diagnostics information
No option for diagnostic data other than the provided log message above.
Example YAML snippet
Anything in the logs that might be useful for us?
Failed setup, will retry: Invalid response from API: (431, {'message': 'Header fields are too long for server to interpret'})
Additional information
No response
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 38 (4 by maintainers)
The latest update, 2025.7.1, incorporated the new Honeywell integration update, and fixed it for me.
agreed, it is still failing for me; I am now seeing a mix of cookies with the domain set and not set. looks like they missed one of the
update_cookies()calls (aiosomecomfort/__init__.py:205).EDIT: I posted back on the other issue but am unable to reopen it
Ok…Chicken and Egg question. Everything worked fine before 2025.6.0. Was the issue from a faulty Integration or from the 2025.6.x update?
It seems to me it’s from the HA update because the behavior doesn’t exist in 2025.5.x.
And yes, I also have the Honeywell integration installed
------ Original Message ------ From “drjjr2” @.> To “home-assistant/core” @.> Cc “bitzerjd99” @.>; “Comment” @.> Date 6/24/2025 9:33:15 AM Subject Re: [home-assistant/core] [Integration: Modern Forms] Header fields are too long for server to interpret (Issue #146673)