Skip to content

Encounter "The request is missing a valid API key" when trying to set up Google Drive #135

@superanalytic

Description

@superanalytic

I am a customer engineer(CE) at Google and I have Google Workspace license assigned to my CE Argolis admin account. I was able to complete Step 1 the Terraform Deployment. But I kept getting the "The request is missing a valid API key" error when I ran

echo "{}" >> gdrive_folder_results.json
python scripts/create_gdrive_folder.py --folder-name="genai-marketing-assets" --service-account-email=<cloud_run_backend_sa>

from Step 3 - Set up Google Drive.

Here is the error reported:
{
"error": {
"code": 403,
"message": "The request is missing a valid API key.",
"errors": [
{
"message": "The request is missing a valid API key.",
"domain": "global",
"reason": "forbidden"
}
],
"status": "PERMISSION_DENIED"
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions