Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { [Error: Not Found]
- code: 404
- errors: [ { domain: 'global', reason: 'notFound', message: 'Not Found' } ] }k
- jwtClient.authorize(function(err, tokens) {
- if (err) {
- console.log(err);
- return;
- }
- // Make an authorized request to list calendar files
- calendar.events.list({
- auth: jwtClient,
- calendarId: calendarId,
- timeMin: (new Date()).toISOString(),
- maxResults: 100,
- singleEvents: true,
- orderBy: 'startTime'
- }, function(err, resp) {
- // handle err and response
- console.log("===============")
- console.log(err)
- console.log(resp)
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement