I am using Google Apps Scripts following this tutorial.
When I execute the code I get the following error:
Project 719340009941 is not found and cannot be used for API calls. If it is recently created, enable Calendar API
I went to Resources -> Advanced Google Services and I enabled Calendar. Then I clicked on the link of Cloud Platform project. I could not directly search for calendar API, I had to create a project first (which I called Calendar). I searched for Calendar API and enabled it.
When I am on the calendar API page it tells me: API enabled. I don“t understand why the script gives me the error.
If I visit the project link (which the error provides) I get the following error
The API "calendar.googleapis.com" doesn't exist or you don't have permission to access it
CalendarAppdevelopers.google.com/apps-script/reference/calendar This version of the Google Calendar API does not require the "Advanced Service" configuration, and does have some different syntax than the public REST API. - tehhowchCalendarAppis limited in its functionality. While it's true you might be able to accomplish your task withCalendarApp, you might need extended functionality in some cases which you would enable as indicated in the question. Unfortunately, I'm getting the same error, and don't have a solution yet. - Josh