Hi All,
Been having the below error for quite some time, and subsequent upgrades never seems to rid this error from appearing in the log.Currently running 0.47
Can anyone assist on how to resolve it?
2017-06-18 16:11:25 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.google
2017-06-18 16:11:25 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.google
2017-06-18 16:11:25 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.google
2017-06-18 16:11:25 INFO (MainThread) [homeassistant.components.calendar] Setting up calendar.google
2017-06-18 16:11:26 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py”, line 161, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 392, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 274, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/google.py”, line 39, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/google.py”, line 39, in
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/google.py”, line 49, in init
super().init(hass, data)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/init.py”, line 71, in init
self.update()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/init.py”, line 137, in update
if not self.data or not self.data.update():
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/init.py”, line 303, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/calendar/google.py”, line 73, in update
result = events.list(**params).execute()
File “/home/homeassistant/.homeassistant/deps/oauth2client/_helpers.py”, line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File “/home/homeassistant/.homeassistant/deps/googleapiclient/http.py”, line 840, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/..REDACTED..%40gmail.com/events?orderBy=startTime&singleEvents=true&alt=json&timeMin=2017-06-18T16%3A11%3A26.266697%2B09%3A30&maxResults=1 returned “Not Found”>
Actually clicking the link shows the below error. Unsure why I get this exaclty?
error
errors
0
domain “usageLimits”
reason “dailyLimitExceededUnreg”
message “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.”
extendedHelp “https://code.google.com/apis/console”
code 403
message “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.”
did you somehow got this fixed? i also have this error inlog, while the component does work do
2019-06-11 17:30:27 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/google/calendar.py", line 34, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/src/app/homeassistant/components/google/calendar.py", line 34, in <listcomp>
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File "/usr/src/app/homeassistant/components/google/calendar.py", line 47, in __init__
super().__init__(hass, data)
File "/usr/src/app/homeassistant/components/calendar/__init__.py", line 83, in __init__
self.update()
File "/usr/src/app/homeassistant/components/calendar/__init__.py", line 149, in update
if not self.data or not self.data.update():
File "/usr/src/app/homeassistant/util/__init__.py", line 224, in wrapper
result = method(*args, **kwargs)
File "/usr/src/app/homeassistant/components/google/calendar.py", line 118, in update
result = events.list(**params).execute()
File "/usr/local/lib/python3.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 842, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/65lfsdclkc28g1qr6b69ma36ek%40group.calendar.google.com/events?orderBy=startTime&maxResults=5&singleEvents=true&timeMin=2019-06-11T18%3A30%3A27.429537%2B02%3A00&alt=json returned "Not Found">
I just noticed this error too. I have the client_id and client_secrets set up in configuration.yaml, so though that this would auth using that and not be a problem?