r/GoogleAppsScript • u/MattCW1701 • Oct 10 '25
Unresolved Developing a spreadsheet reader, but need verification?
I'm working on a personal-use app that reads spreadsheets from my Google Drive. I'm early in the development process and new to GoogleAppsScripts. I'm getting a "Requested entity was not found" error when calling "const values = Sheets.Spreadsheets.Values.get(sheetId, "A1:A10");" I've verified the sheetId is correct so it seems it may be something with the authorization that I'm not clear on. On one page (which I've lost track of for the moment) it reads like I have to have the app verified before doing this, but then it says in the same paragraph that you can continue to develop while waiting verification. How can I develop anything though? Can anyone cut through the confusion for me? Thank you!
View all comments
Show parent comment
1
u/krakow81 Oct 10 '25 edited Oct 10 '25
Apologies and please correct me if I don't have the nomenclature exactly right, but this is what I mean by the standard spreadsheet service https://developers.google.com/apps-script/guides/sheets with the full reference docs being https://developers.google.com/apps-script/reference/spreadsheet
Using this your initial line for example would be something like (off the top of my head, so excuse any errors). Edited, forgot to get the sheet...
const values = SpreadsheetApp.openById(sheetId).getSheetByName(sheetName).getRange("A1:A10").getValues();It doesn't make a big difference for that one line, but going forward it's a lot more straightforward to use than the advanced Sheets service or Sheet API. Personally I'd only use the latter if I need to do something that the standard one won't handle, for example some batch operations.
Again, I don't know if this is an answer to the specific error you were having, but if you're just starting with Apps Script then I wonder if the standard spreadsheet service might be a better option at least at first. Personally I find the advanced service a fair bit more tricksy to use (no surprise, perhaps, given it's 'advanced').