Hello,
Has anyone else got the Portainer error:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/pyportainer/pyportainer.py", line 132, in _request
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 636, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://localhost/api/endpoints'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/portainer/config_flow.py", line 68, in async_step_user
await _validate_input(self.hass, user_input)
File "/usr/src/homeassistant/homeassistant/components/portainer/config_flow.py", line 44, in _validate_input
await client.get_endpoints()
File "/usr/local/lib/python3.13/site-packages/pyportainer/pyportainer.py", line 182, in get_endpoints
endpoints = await self._request("endpoints")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyportainer/pyportainer.py", line 142, in _request
raise PortainerNotFoundError(msg) from err
pyportainer.exceptions.PortainerNotFoundError: Resource not found at GET http://localhost/api/endpoints: 404, message='Not Found', url='http://localhost/api/endpoints'```
when setting up portainer? I have my local link and port put in during the setup but it just says unexpected error when I click submit. The above is what appears in my logs.
Thanks!