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'}"}

"

0 REPLIES 0