Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

"Maximum call stack size exceeded" on GKE #390

@lauramorillo

Description

@lauramorillo

With versions 2.0.0 and 2.0.3 I'm getting this error when I try to access a bucket from Cloud Storage from a container running in my GKE cluster:

"RangeError: Maximum call stack size exceeded",
" at replaceProjectIdToken (/code/node_modules/@google-cloud/projectify/src/index.ts:27:1)",
" at replaceProjectIdToken (/code/node_modules/@google-cloud/projectify/src/index.ts:36:22)",
" at /code/node_modules/@google-cloud/projectify/src/index.ts:29:42",
" at Array.map ()",
" at replaceProjectIdToken (/code/node_modules/@google-cloud/projectify/src/index.ts:29:33)",
" at replaceProjectIdToken (/code/node_modules/@google-cloud/projectify/src/index.ts:36:22)",
" at replaceProjectIdToken (/code/node_modules/@google-cloud/projectify/src/index.ts:36:22)",
" at /code/node_modules/@google-cloud/projectify/src/index.ts:29:42",

I downgraded to version 1.7.0 and it works now.
The nodejs-logging project had a similar issue created and resolved a few months ago googleapis/nodejs-logging#87 (in case it can help)

Thank you!

Metadata

Metadata

Labels

🚨This issue needs some love.api: storageIssues related to the googleapis/nodejs-storage API.needs more infoThis issue needs more information from the customer to proceed.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions