core icon indicating copy to clipboard operation
core copied to clipboard

Unable to configure Mastodon integration

Open badnetmask opened this issue 4 months ago • 2 comments

The problem

I am unable to configure the Mastodon integration. I passed all the required information, then the web UI gives this error: Unknown error occured when connecting to the Mastodon instance. So I went to look at the logs, and found this:

2024-10-05 17:06:21.942 ERROR (SyncWorker_50) [homeassistant.components.mastodon.const] Unexpected error
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/mastodon/config_flow.py", line 71, in check_connection
    instance = client.instance()
               ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/mastodon/utility.py", line 46, in wrapper
    raise MastodonVersionError(f"Version check failed (Need version {version})")
mastodon.errors.MastodonVersionError: Version check failed (Need version 1.1.0)

Not sure where to go from here, because it's not clear what is it that the version this is checking. My instance is hachyderm.io running Mastodon v4.2.10.

What version of Home Assistant Core has the issue?

core-2024.10.1

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

Mastodon

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

badnetmask avatar Oct 05 '24 21:10 badnetmask