GoogleCloudPlatform / GoogleCloudPlatform/generative-ai

[Bug]: LangGraph Podcast referencing project 522309567947

Open
#2,008 0 comments 0 reactions 1 assignee Claimed by @koverholt View on GitHub
Dominant language
Jupyter Notebook
Stars
17.7k
Forks
4.5k
Avg merge
12h 38m
Merged PRs (30d)
42

Description

### File Name

gemini/orchestration /langgraph_gemini_podcast.ipynb

### What happened?

Running synthesize_speech() returns permission denied to project 522309567947 even though personal project was referenced earlier in the notebook, please find reference logs attached herewith.

### Relevant log output

```shell
code:

# Generate audio using the Text-to-Speech API
response = client.synthesize_speech(
input=synthesis_input, voice=voice, audio_config=audio_config
)

output:

InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.PERMISSION_DENIED
details = "Cloud Text-to-Speech API has not been used in project 522309567947 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=522309567947 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.16.95:443 {grpc_message:"Cloud Text-to-Speech API has not been used in project 522309567947 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=522309567947 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", grpc_status:7, created_time:"2025-05-01T16:38:36.607478652+00:00"}">
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.