mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-07-17 08:22:34 -05:00
Incorrect environment variable for ElevenLabs API key in blog_to_podcast_agent.py #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haoduotnt on GitHub (Jun 13, 2025).
File:
starter_ai_agents/ai_blog_to_podcast_agent/audio_generations/blog_to_podcast_agent.py
Issue:
The code uses the environment variable ELEVENLABS_API_KEY, which is incorrect and causes authentication failure when calling the ElevenLabs API.
Line in question:
os.environ["ELEVENLABS_API_KEY"]
Fix:
It should be:
os.environ["ELEVEN_LABS_API_KEY"]
Impact:
Using the incorrect environment variable name results in a 401 Unauthorized error when making requests to the ElevenLabs API.
Reference:
Elevenlabs API - Error: 401 Client Error: Unauthorized for url
⸻
Let me know if you’d like me to help you actually submit it via the GitHub API or automate the process further!
@fayzan101 commented on GitHub (Jun 13, 2025):
i can help you
@Shubhamsaboo commented on GitHub (Jun 15, 2025):
Its fixed here: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/230
@fayzan101 commented on GitHub (Jun 15, 2025):
I am looking to contribute to open source projects if you have any then do
tell me
On Sun, 15 Jun 2025, 8:36 pm Shubham Saboo, @.***>
wrote: