title: error when I try to fetch calendar events through google API, JS React
body: <p>For some reason; I get error when trying to get my calendar events through google API. I code in JS and use React and have no idea why it does not work.</p>
  
  <p>I have the token stored in sessionStorage and do get personal information about the user like name email and such stuff but I cannot proceed and get the calendar events. Please help!</p>
  
  <p>I'm not sure what exactly you would like to see inside my App but let me know and I'll provide with the stuff because I do not want to upload the whole project lol</p>
  
  <p><a href="https://gyazo.com/37433e19f07e441adf368d1bbcad78e6" rel="nofollow noreferrer">https://gyazo.com/37433e19f07e441adf368d1bbcad78e6</a></p>