@HavartiBard wrote:
I have been troubleshooting an issue with my google calendar lovelace card for the past few weeks and I am just not knowledgeable on all of the home assist backend to figure out whats going wrong here:
Following the update to 0.107.1 ( and subsequent point releases ) my atomic-calendar lovelace card was unable to load my calendar data with the following error:
Cannot assign to read only property ‘0’ of object ‘[object Array]’
My assumption was that my google calendar integration was broken and started poking around and did the following:
- Attempted using the calendar-card plugin ( similar results of an error suggesting no data )
- Scorched earth deleted google calendar configs and regenerated
- regenerated a google oath key and updated hassio config
- Verified that the calendar integration is working by examining the calendar entities directly
So now I am troubleshooting with the calendar-card and running on 0.107.7. In the lovelace card I see a 400 response code error. Looking at the requests I can see that the Bearer authentication header is being sent properly but getting an error on the internal API call for calendars:
Request URL: http://192.168.86.25:8123/api/calendars/calendar.family_calendar?start=2020-04-08T00:00:00Z&end=2020-04-15T00:00:00Z Request Method: GET Status Code: 400 Bad Request Remote Address: 192.168.86.25:8123 Referrer Policy: same-origin Response Headers Content-Length: 0 Content-Type: application/octet-stream Date: Wed, 08 Apr 2020 21:20:15 GMT Server: Python/3.7 aiohttp/3.6.1 Request Headers Accept: 3./* Accept-Encoding:gzip, deflate Accept-Language: en-US,en;q=0.9 authorization:Bearer <redacted> Connection: keep-alive Host: 192.168.86.25:8123 Referer: http://192.168.86.25:8123/lovelace/home User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 Query String Parameters start: 2020-04-08T00:00:00Z end: 2020-04-15T00:00:00Z
Testing other api paths such as http://192.168.86.25:8123/api/config with the same Bearer key returns results as expected, but nothing for the calendar entities. Anyone more familiar with the REST API that can point me in the right direction?
Posts: 1
Participants: 1