Home > Enterprise >  Not able to get spreadsheet values. Error code: 403, The request is missing a valid API key
Not able to get spreadsheet values. Error code: 403, The request is missing a valid API key

Time:04-03

Sorry I'm trying to figure out how to use Google Sheet apis. I am getting the required output on the google developers site but not getting when I try to open it in another tab. enter image description here

enter image description here

Sorry for the stupid question, if you could help me that would be great! Thanks!

Expected to get the values of the spreadsheet. Got: enter image description here

CodePudding user response:

As in the first image, your access token is passed in the request, when you open the URL in a new tab, this is not added. You cannot make the same request directly from a new tab you might have to use sort of code for the same. Thus, when you open the URL in a new tab you are unauthenticated and get this issue

  • Related