Error
API key not valid. Please pass a valid API key. DETAILS
at Gaxios._request (/tmp/__pdg__/dist/code/dbc204189a2b406a36337e12ce1757749ef338c0af454ea7fddaaa848e64f943/node_modules/.pnpm/gaxios@6.1.0/node_modules/gaxios/build/src/gaxios.js:141:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.run (file:///tmp/__pdg__/dist/code/dbc204189a2b406a36337e12ce1757749ef338c0af454ea7fddaaa848e64f943/component.mjs:28:22)
at null.executeComponent (/var/task/launch_worker.js:229:22)
at MessagePort.messageHandler (/var/task/launch_worker.js:726:28)
I apologize for the inconvenience you’re experiencing. The error message you provided indicates an issue with the API key. However, the code you shared earlier uses OAuth for authentication, not an API key. This is quite unusual. To help you resolve this issue, please try the following steps: 1. Double-check that you’ve connected the correct Google Sheets account in the Pipedream UI. 2. Ensure that the Google Sheets API is enabled for your project in the Google Cloud Console. If the issue persists, please let me know, and I’ll be happy to assist you further.
add to this code so I can find the spreadsheet id of the spreadsheet name given import { axios } from “@pipedream/platform”; import { google } from “googleapis”;
I apologize for the inconvenience you’re experiencing. It seems there might be an issue with the authentication or the API key itself. To better assist you, could you please provide more information about the API you’re trying to connect to and any relevant code you’re using? This will help me understand the issue and provide a more accurate solution.