google / google/adk-python

spec.source_code_spec.inline_source.source_archive` cannot be empty

Open
#3,481 4 comments 2 reactions 1 assignee Assigned to @yeesian View on GitHub
agent engine needs review
Dominant language
Python
Stars
21.5k
Forks
4k
Avg merge
1d 14h
Merged PRs (30d)
37

Description

** Please make sure you read the contribution guide and file the issues in the right place. **
[Contribution guide.](https://google.github.io/adk-docs/contributing-guide/)

**Describe the bug**
when deploying adk to adk deploy agent_engine using "adk deploy agent_engine" and trying to Enable instrumentation of OpenTelemetry traces and logs I get the error _spec.source_code_spec.inline_source.source_archive` cannot be empty_

**To Reproduce**
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
1. adk deploy agent_engine myagent --trace_to_cloud
2. try to Enable instrumentation of OpenTelemetry traces and logs using the Service configuration panel in the GCP console
3. Press update

**Expected behavior**
Telemetry collection enabled

**Screenshots**
Image
Image

**Desktop (please complete the following information):**
- OS: macOS
- Python version(python -V): 3.13.2
- ADK version(pip show google-adk): 1.18.0

**Model Information:**
- Are you using LiteLLM: No
- Which model is being used: gemini-2.5-fals

**Additional context**
Add any other context about the problem here.

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.