Skip to content

[BUG] Got a 422 Rate limit exceeded for creating file subscriptions when deploying Google Sheets trigger #16905

@dannyroosevelt

Description

@dannyroosevelt

It appears to be user related, and potentially as a result of deploying too many GSheets triggers in a short amount of time. Can we add some error handling / retries?

HTTP error! status: 422, body:
{
    "error": "observation error",
    "err": null,
    "observations": [
        {
            "k": "hook",
            "ts": 1748509436592,
            "h": "activate"
        },
        {
            "k": "error",
            "ts": 1748509436749,
            "err": {
                "name": "Error",
                "message": "Rate limit exceeded for creating file subscriptions.",
                "stack": "Error: Rate limit exceeded for creating file subscriptions.\n    at Gaxios._request (/tmp/__pdg__/dist/code/6fb387155ff3cb4b1b2f0a0344842532ab542dd22b2f7e8f66058654dce232ee/node_modules/.pnpm/gaxios@4.3.3/node_modules/gaxios/src/gaxios.ts:158:15)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async OAuth2Client.requestAsync (/tmp/__pdg__/dist/code/6fb387155ff3cb4b1b2f0a0344842532ab542dd22b2f7e8f66058654dce232ee/node_modules/.pnpm/google-auth-library@7.14.1/node_modules/google-auth-library/build/src/auth/oauth2client.js:368:18)\n    at async Object.watchFile (file:///tmp/__pdg__/dist/code/6fb387155ff3cb4b1b2f0a0344842532ab542dd22b2f7e8f66058654dce232ee/node_modules/.pnpm/@pipedream+google_drive@0.9.1/node_modules/@pipedream/google_drive/google_drive.app.mjs:751:9)\n    at async Object.activateFileHook (file:///tmp/__pdg__/dist/code/6fb387155ff3cb4b1b2f0a0344842532ab542dd22b2f7e8f66058654dce232ee/node_modules/.pnpm/@pipedream+google_drive@0.9.1/node_modules/@pipedream/google_drive/google_drive.app.mjs:853:11)\n    at async Object.activate (file:///tmp/__pdg__/dist/code/6fb387155ff3cb4b1b2f0a0344842532ab542dd22b2f7e8f66058654dce232ee/code/google_sheets/sources/common/http-based/base.mjs:81:11)\n    at async /var/task/node_modules/@lambda-v2/component-runtime/src/deployedComponentMain.js:78:13\n    at async captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:5)\n    at async deployedComponentMain (/var/task/node_modules/@lambda-v2/component-runtime/src/deployedComponentMain.js:44:20)\n    at async MessagePort.\u003canonymous\u003e (file:///var/task/component_maker.mjs:181:9)"
            }
        }
    ]
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions