Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. { [Error: Not Found]
  2. code: 404
  3. errors: [ { domain: 'global', reason: 'notFound', message: 'Not Found' } ] }k
  4.  
  5. jwtClient.authorize(function(err, tokens) {
  6. if (err) {
  7. console.log(err);
  8. return;
  9. }
  10.  
  11. // Make an authorized request to list calendar files
  12. calendar.events.list({
  13. auth: jwtClient,
  14. calendarId: calendarId,
  15. timeMin: (new Date()).toISOString(),
  16. maxResults: 100,
  17. singleEvents: true,
  18. orderBy: 'startTime'
  19. }, function(err, resp) {
  20. // handle err and response
  21. console.log("===============")
  22. console.log(err)
  23. console.log(resp)
  24. });
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement