Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Adk Agent Deployment Not working

I have an application built with Google’s new Agent Development Kit (ADK) that I’ve successfully deployed to Vertex AI Agent Engine in GCP. The deployment completes without errors, and I can confirm in the GCP console that my agent is up and running. However, whenever I attempt to create a session and send a message to the agent from my local machine, the script fails with a FailedPrecondition error stating that it “Failed to create session.” My ultimate goal is simply to open a session (via the ADK CLI) and then invoke a chat turn on that session, but I can’t get past session creation.

Here is the full error
"
(adk-short-bot-py3.12) PS C:\Users\salvcosta\Desktop\…> poetry run deploy-remote --create_session --resource_id 4729518480552886272 --user_id test_user
Traceback (most recent call last):
File "…\site-packages\google\api_core\grpc_helpers.py", line 76, in error_remapped_callable
return callable_(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "…\site-packages\grpc\_interceptor.py", line 277, in __call__
response, ignored_call = self._with_call(
^^^^^^^^^^^^^^^^
File "…\site-packages\grpc\_interceptor.py", line 332, in _with_call
return call.result(), call
^^^^^^^^^^^^^
File "…\site-packages\grpc\_channel.py", line 440, in result
raise self
File "…\site-packages\grpc\_interceptor.py", line 315, in continuation
response, call = self._thunk(new_method).with_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "…\site-packages\grpc\_channel.py", line 1198, in with_call
return _end_unary_response_blocking(state, call, True, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "…\site-packages\grpc\_channel.py", line 1006, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.FAILED_PRECONDITION
details = "Reasoning Engine Execution failed.
Please refer to our documentation (https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/troubleshooting/use) for checking logs and other troubleshooting tips.
Error Details: {"detail":"Agent Engine Error: An error occurred during invocation. Exception: Failed to create session.\nRequest Data: {'user_id': 'test_user'}"}"
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.250.186.138:443 {created_time:"2025-06-06T10:08:04.6554562+00:00", grpc_status:9, grpc_message:"Reasoning Engine Execution failed.\nPlease refer to our documentation (https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/troubleshooting/use) for checking logs and other troubleshooting tips.\nError Details: {\"detail\":\"Agent Engine Error: An error occurred during invocation. Exception: Failed to create session.\\nRequest Data: {'user_id': 'test_user'}\"}"}"

google.api_core.exceptions.FailedPrecondition: 400 Reasoning Engine Execution failed.
Please refer to our documentation (…) for checking logs and other troubleshooting tips.
Error Details: {"detail":"Agent Engine Error: An error occurred during invocation. Exception: Failed to create session.\nRequest Data: {'user_id': 'test_user'}"}

"

8 REPLIES 8

I am having the same issue. Were you able to solve this?

me too, now i'm using adk version 1.3.0, this time is different from last few version (1.11) which is a bug that already fixed, but this time I can deploy any agent but can't even to communicate with them and simple function that we can use like list_deployments() which list all deployed agent also cannot use too. or this problem come from new version of ADK again? someone have any information?

I'm facing the same issue. Anyone solved it?

I'm facing the same issue.

I am having the same issue.

This issue may have been resolved with the release of ADK 1.4.2: https://github.com/google/adk-python/releases/tag/v1.4.2

when i try to update adk version 

google-adk 1.4.2 needs google-cloud-aiplatform to be at least 1.95.1.

vertexai 1.71.1 needs google-cloud-aiplatform to be exactly 1.71.1.

 

 

 

Since the 1.42 release it started working again for me