Error: Google API error - [404] Requested entity was not found.
See original GitHub issueI’m deploying a project @ Vercel using Next.js to read this sheets pages and load tables with contents. It works locally, where I’ve dealt with all values using env variables (spreadsheets IDs, service account email and private key), but not remotely with the same env vars set.
It returns this message in the log:
16:41:38.033 | Error: Google API error - [404] Requested entity was not found.
-- | --
16:41:38.033 | at createError (/vercel/path0/node_modules/google-spreadsheet/node_modules/axios/lib/core/createError.js:16:15)
16:41:38.033 | at settle (/vercel/path0/node_modules/google-spreadsheet/node_modules/axios/lib/core/settle.js:17:12)
16:41:38.034 | at IncomingMessage.handleStreamEnd (/vercel/path0/node_modules/google-spreadsheet/node_modules/axios/lib/adapters/http.js:269:11)
16:41:38.034 | at IncomingMessage.emit (events.js:412:35)
16:41:38.034 | at endReadableNT (internal/streams/readable.js:1334:12)
16:41:38.034 | at processTicksAndRejections (internal/process/task_queues.js:82:21) {
My IDs are ok. Do I need a secondary private key to run it remotely?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Getting "Requested entity was not found" when fetching ...
When the error message of Requested entity was not found. occurs, the following reasons can be considered. The Spreadsheet of the spreadsheet ID...
Read more >Gmail API: How to fix “Requested entity was not found” problem
Solution · Get message and thread ids using the messages.list() method · Try to get the message using the message id · If...
Read more >"Requested entity was not found" bulk upload error message
If there are, and the message you've received is 'Requested entity was not found' this tells us that the location ID that you...
Read more >Gmail API: "Requested entity was not found." : r/gsuite - Reddit
Hey there, I'm trying to update our user's Gmail signature but getting the following error message:raise HttpError(resp, content, ...
Read more >NOT_FOUND error - Google Groups
<stderr>: Caused by: com.google.api.client.http.HttpResponseException: 404 Not Found { "error": { "code": 404, "message": "Requested entity was not found.
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
Are you sure your IDs are ok? Can you recreate the same error locally by messing up the doc id?
getting the same issue although i have added the keys correctly.