https://www.boundaryml.com logo
API issue
# help
v
While using Gemini API key in playground, BAML runs perfectly. But when i run the BAML from python scripts, i get 400 API ID INVALID error. It works perfectly fine in playground though. Both playground and .env use same API key. The client config used is client GeminiClient { provider google-ai options { model "gemini-2.0-flash" api_key env.GOOGLE_API_KEY } }