generative-ai icon indicating copy to clipboard operation
generative-ai copied to clipboard

[Bug]: LangGraph Podcast referencing project 522309567947

Open mahsanghani opened this issue 8 months ago • 0 comments

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

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

mahsanghani avatar May 01 '25 16:05 mahsanghani