-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encounter "The request is missing a valid API key" when trying to set up Google Drive #135
Labels
Comments
Hi! I'm thekoma@ (same role ping me if you want) Have you set up the default application login?
|
Hi Andrea,
Thank you for this check. I did run this step and here is the screenshot
I got
[image: Screenshot 2024-10-17 at 12.38.57 PM.png]
*Connie Outwater*
Customer Engineer, Data Analytics
949-529-2556 <(949)%20529-2556> (work)
***@***.***
…On Thu, Oct 17, 2024 at 12:26 PM Andrea Cervesato ***@***.***> wrote:
Hi! I'm thekoma@ (same role ping me if you want)
Have you set up the default application login?
gcloud auth application-default login \
--scopes='https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/drive'
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKJDJ5N6DDW6QSVACQZFBV3Z4AFO7AVCNFSM6AAAAABQEFILI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGM3DAMBYG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@superanalytic any news on this issue? |
I tried suggestion. But I still ran into the same issue. |
Were there any errors during the terraform apply step? |
And can you confirm you're doing this all via Cloud Shell and that you did terraform via Cloud shell? |
I did my comment via Cloud Shell. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"
}
The text was updated successfully, but these errors were encountered: