Sheets 'Must specify at least one request.' error
See original GitHub issueWith the V4 API, sheets.spreadsheets.batchUpdate is responding with ‘ERROR: Must specify at least one request’ when used in Node.js, even when I specify a valid request body.
const options = {
spreadsheetId: defaultConfig.spreadsheetId,
auth: auth.authClient,
resource: {requests: requests}
};
sheets.spreadsheets.batchUpdate(options, function (error, other){
console.log(error);
});
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
API call to sheets.spreadsheets.batchUpdate failed with error ...
spreadsheets.batchUpdate failed with error : Must specify at least one request. and just go on with the next function which runs after finishing ......
Read more >[Google Sheets Integration Service] Error 400: Must specify at ...
Hi! I'm using the GoogleSheets_JS service and I'm getting "Error 400: Must specify at least one request" when I'm trying to add batch...
Read more >Requests | Google Sheets
At least one field must be specified. The root 'properties' is implied and should not be specified. A single "*" can be used...
Read more >Set rules for your form - Google Docs Editors Help
Checkboxes. Click More More . Click Response validation. Choose the type of rule you want. At the far right, type an error ......
Read more >Error Messages | API Connector for Google Sheets
The primary known cause of this error is a request that takes too long to complete and therefore hits Google's 6 min/request processing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yea, nah… I just spent the past 6 hours on this one. batchupdate is totally broke. My guess is, something to do with changes in 26.0 for es6.
Rollback to a previous working version of googleapis, version 21.3.0 works for me. 26.0.1 Gave me same error.
Sounds like we have an answer here 😃 Indeed, you should NOT directly install
google-auth-library
, sincegoogleapis
comes with a compatible client built-in. Thanks for the fix @erickoledadevrel!@jetrii please do let us know if you’re still having issues after removing
google-auth-library
from your package.json.