span-hacs icon indicating copy to clipboard operation
span-hacs copied to clipboard

Getting 301 redirect for API

Open jeffkibuule opened this issue 2 years ago • 4 comments

I tried installing this integration but it looks like they changed the API location?

Traceback (most recent call last): File "/config/custom_components/span_panel/init.py", line 53, in async_update_data await span_panel.spaces.getData() File "/config/custom_components/span_panel/span_panel.py", line 231, in getData results.raise_for_status() File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 736, in raise_for_status raise HTTPStatusError(message, request=request, response=self) httpx.HTTPStatusError: Redirect response '301 Moved Permanently' for url 'http://192.168.0.170/api/v1/spaces' For more information check: https://httpstatuses.com/301

jeffkibuule avatar Aug 08 '22 17:08 jeffkibuule