core: Synology DSM integration stopped working - Bad request

The problem

The DSM integration sopped working for me. I had my synology NAS connected to homeassistant and it was working. After an update of homeassistant it stopped working - but I can’t recall the version. I removed it and tried to add it again, but I only get the error message Unexpected error.

What version of Home Assistant Core has the issue?

2022.6.0

What was the last working version of Home Assistant Core?

2022.5.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Synology DSM

Link to integration documentation on our website

https://www.home-assistant.io/integrations/synology_dsm

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.synology_dsm.config_flow
Source: components/synology_dsm/config_flow.py:195
Integration: Synology DSM (documentation, issues)
First occurred: 16:11:33 (7 occurrences)
Last logged: 21:22:48

{'api': 'SYNO.Core.System.Utilization', 'code': 1055, 'reason': 'Unknown', 'details': {'err_key': '', 'err_line': 883, 'err_msg': 'Transmition failed.', 'err_session': ''}}
Logger: homeassistant.components.synology_dsm.config_flow
Source: components/synology_dsm/config_flow.py:192
Integration: Synology DSM (documentation, issues)
First occurred: 20:54:03 (1 occurrences)
Last logged: 20:54:03

{'api': None, 'code': -1, 'reason': 'Unknown', 'details': 'RequestException = Bad Request'}


### Additional information

_No response_

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 25 (5 by maintainers)

Most upvoted comments

Hi @MoJo2600

please enable debug logging, restart HA and provide the homeassistant.log. To do so add the following to your configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.synology_dsm: debug
    synology_dsm: debug

Please also provide details about your NAS like model and DSM version. Further if possible please download and provide the diagnostics data for this integration.

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.