Hi all,
I already read a lot in other posts, but I wasn’t able to fix it.
I setup the the gcal binding following the instructions. I tried it one then two times, but still the sam issue:
2018-04-30 00:58:39.949 [ERROR] [openhab.io.gcal.auth.GCalGoogleOAuth] - authentication I/O exception: 403 Forbidden
{
“code” : 403,
“errors” : [ {
“domain” : “usageLimits”,
“message” : “Project ############# is not found and cannot be used for API calls. If it is recently created, enable Calendar API by visiting https://console.developers.google.com/apis/api/calendar.googleapis.com/overview?project=############ then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.”,
“reason” : “accessNotConfigured”,
“extendedHelp” : “https://console.developers.google.com/apis/api/calendar.googleapis.com/overview?project=###########”
} ],
“message” : “Project ############ is not found and cannot be used for API calls. If it is recently created, enable Calendar API by visiting …then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.”
}
I turned on the debug mode:
2018-04-30 00:58:21.346 [DEBUG] [org.openhab.io.gcal ] - BundleEvent STOPPING - org.openhab.io.gcal
2018-04-30 00:58:21.364 [DEBUG] [org.openhab.io.gcal ] - ServiceEvent UNREGISTERING - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.gcal, component.name=org.openhab.binding.gcal.eventdownloader, component.id=191, service.id=318, service.bundleid=215, service.scope=bundle} - org.openhab.io.gcal
2018-04-30 00:58:21.373 [DEBUG] [enhab.io.gcal.internal.GCalActivator] - Google Calendar IO has been stopped.
2018-04-30 00:58:21.375 [DEBUG] [org.openhab.io.gcal ] - BundleEvent STOPPED - org.openhab.io.gcal
2018-04-30 00:58:39.731 [DEBUG] [org.openhab.io.gcal ] - BundleEvent STARTING - org.openhab.io.gcal
2018-04-30 00:58:39.735 [DEBUG] [enhab.io.gcal.internal.GCalActivator] - Google Calendar IO has been started.
2018-04-30 00:58:39.739 [DEBUG] [org.openhab.io.gcal ] - BundleEvent STARTED - org.openhab.io.gcal
2018-04-30 00:58:39.749 [DEBUG] [org.openhab.io.gcal ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.gcal, component.name=org.openhab.binding.gcal.eventdownloader, component.id=198, service.id=326, service.bundleid=215, service.scope=bundle} - org.openhab.io.gcal
2018-04-30 00:58:39.751 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - Loaded credential
2018-04-30 00:58:39.752 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device access token: ##################
2018-04-30 00:58:39.753 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device refresh_token: ##################
2018-04-30 00:58:39.754 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device expires_in: 1525045233874
2018-04-30 00:58:39.761 [INFO ] [b.core.service.AbstractActiveService] - Google Calendar Event Downloader has been started
2018-04-30 00:58:39.764 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - Loaded credential
2018-04-30 00:58:39.765 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device access token: ###################
2018-04-30 00:58:39.766 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device refresh_token: ###################
2018-04-30 00:58:39.767 [DEBUG] [openhab.io.gcal.auth.GCalGoogleOAuth] - device expires_in: 1525045233874