adk-samples icon indicating copy to clipboard operation
adk-samples copied to clipboard

Issue with deployed data science agent

Open smohsin-pave opened this issue 1 year ago • 8 comments

I get the following error when trying to query my deployed data-science agent:

curl \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
https://LOCATION-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/reasoningEngines/RESOURCE_ID:query -d '{
  "class_method": "query",
  "input": {
    "input": "What is the exchange rate from US dollars to Swedish Krona today?"
  }
}'
{
  "error": {
    "code": 400,
    "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: User-specified method `query` not found. Available methods are: ['async_delete_session', 'delete_session', 'async_get_session', 'create_session', 'async_list_sessions', 'get_session', 'async_create_session', 'list_sessions'].\"}",
    "status": "FAILED_PRECONDITION"
  }
}

I deployed the agent almost exactly as it appears in main, and i'm not sure how to debug the issue further

It's not clear to me why session methods are available, but not query methods. Any advice?

smohsin-pave avatar Jul 16 '25 02:07 smohsin-pave

Here is the log explorer trace:

2025-07-15 20:38:31.480
Entrypoint: Starting up services...

2025-07-15 20:38:31.481
./startup_scripts directory not found, skipping startup script execution.
2025-07-15 20:38:31.481
Entrypoint: Launching main application...
2025-07-15 20:38:38.279
[1]       INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
2025-07-15 20:38:38.280
[1]       INFO:     Started parent process [1]
2025-07-15 20:39:12.068
[12]      INFO:     Started server process [12]
2025-07-15 20:39:12.068
[11]      INFO:     Started server process [11]
2025-07-15 20:39:12.068
[12]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.068
[16]      INFO:     Started server process [16]
2025-07-15 20:39:12.068
[11]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.068
[16]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.068
[13]      INFO:     Started server process [13]
2025-07-15 20:39:12.068
[10]      INFO:     Started server process [10]
2025-07-15 20:39:12.068
[8]       INFO:     Started server process [8]
2025-07-15 20:39:12.069
[13]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.069
[8]       INFO:     Waiting for application startup.
2025-07-15 20:39:12.069
[12]      INFO:     Application startup complete.
2025-07-15 20:39:12.069
[10]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.069
[14]      INFO:     Started server process [14]
2025-07-15 20:39:12.069
[11]      INFO:     Application startup complete.
2025-07-15 20:39:12.069
[14]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.069
[8]       INFO:     Application startup complete.
2025-07-15 20:39:12.069
[13]      INFO:     Application startup complete.
2025-07-15 20:39:12.069
[10]      INFO:     Application startup complete.
2025-07-15 20:39:12.069
[14]      INFO:     Application startup complete.
2025-07-15 20:39:12.069
[16]      INFO:     Application startup complete.
2025-07-15 20:39:12.070
[15]      INFO:     Started server process [15]
2025-07-15 20:39:12.070
[9]       INFO:     Started server process [9]
2025-07-15 20:39:12.070
[15]      INFO:     Waiting for application startup.
2025-07-15 20:39:12.070
[9]       INFO:     Waiting for application startup.
2025-07-15 20:39:12.071
[15]      INFO:     Application startup complete.
2025-07-15 20:39:12.071
[9]       INFO:     Application startup complete.
2025-07-15 20:47:56.995
[12]      ERROR:    User-specified method `query` not found. Available methods are: ['async_list_sessions', 'async_delete_session', 'async_get_session', 'get_session', 'async_create_session', 'list_sessions', 'delete_session', 'create_session'].
2025-07-15 20:47:56.995
[12]      INFO:     169.254.169.126:11608 - "POST /api/reasoning_engine HTTP/1.1" 404 Not Found
2025-07-15 20:47:57.024
[12]      ERROR:    Exception in ASGI application
2025-07-15 20:47:57.024
Traceback (most recent call last):   File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi     result = await app(  # type: ignore[func-returns-value]

{
insertId: "687712dd00005e7e0323fbc1"
logName: "projects/XXXXX/logs/aiplatform.googleapis.com%2Freasoning_engine_stderr"
receiveTimestamp: "2025-07-16T02:47:57.332610291Z"
resource: {2}
severity: "ERROR"
textPayload: "Traceback (most recent call last):
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
    result = await app(  # type: ignore[func-returns-value]"
timestamp: "2025-07-16T02:47:57.024190Z"
}
2025-07-15 20:47:57.024
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
        self.scope, self.receive, self.send
2025-07-15 20:47:57.024
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
    )
2025-07-15 20:47:57.024
    ^
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
2025-07-15 20:47:57.024
    return await self.app(scope, receive, send)
2025-07-15 20:47:57.024
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/applications.py", line 1054, in __call__
2025-07-15 20:47:57.024
    await super().__call__(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/applications.py", line 112, in __call__
2025-07-15 20:47:57.024
    await self.middleware_stack(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/errors.py", line 187, in __call__
2025-07-15 20:47:57.024
    raise exc
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/errors.py", line 165, in __call__
2025-07-15 20:47:57.024
    await self.app(scope, receive, _send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/cors.py", line 85, in __call__
2025-07-15 20:47:57.024
    await self.app(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
2025-07-15 20:47:57.024
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-07-15 20:47:57.024
    raise exc
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-07-15 20:47:57.024
    await app(scope, receive, sender)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 714, in __call__
2025-07-15 20:47:57.024
    await self.middleware_stack(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 734, in app
2025-07-15 20:47:57.024
    await route.handle(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 288, in handle
2025-07-15 20:47:57.024
    await self.app(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 76, in app
2025-07-15 20:47:57.024
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-07-15 20:47:57.024
    raise exc
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-07-15 20:47:57.024
    await app(scope, receive, sender)
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 73, in app
2025-07-15 20:47:57.024
    response = await f(request)
2025-07-15 20:47:57.024
               ^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/routing.py", line 301, in app
2025-07-15 20:47:57.024
    raw_response = await run_endpoint_function(
2025-07-15 20:47:57.024
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
    ...<3 lines>...
2025-07-15 20:47:57.024
    )
2025-07-15 20:47:57.024
    ^
2025-07-15 20:47:57.024
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
2025-07-15 20:47:57.024
    return await dependant.call(**values)
2025-07-15 20:47:57.024
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:47:57.024
  File "/code/app/api/factory/python_file_api_builder.py", line 341, in handler
2025-07-15 20:47:57.024
    invocation_method_name = _resolve_invocation_method(
2025-07-15 20:47:57.024
        invocation_params.method_name,
2025-07-15 20:47:57.024
        _DEFAULT_QUERY_METHOD,
2025-07-15 20:47:57.024
        invocation_method_callables,
2025-07-15 20:47:57.024
    )
2025-07-15 20:47:57.024
  File "/code/app/api/factory/python_file_api_builder.py", line 310, in _resolve_invocation_method
2025-07-15 20:47:57.024
    raise utils.InvocationMethodNotFoundError(
2025-07-15 20:47:57.024
    ...<3 lines>...
2025-07-15 20:47:57.024
    )
2025-07-15 20:47:58.072
app.api.factory.utils.InvocationMethodNotFoundError: User-specified method `query` not found. Available methods are: ['async_list_sessions', 'async_delete_session', 'async_get_session', 'get_session', 'async_create_session', 'list_sessions', 'delete_session', 'create_session'].
2025-07-15 20:48:18.415
[16]      ERROR:    User-specified method `query` not found. Available methods are: ['async_delete_session', 'get_session', 'delete_session', 'list_sessions', 'async_list_sessions', 'async_get_session', 'create_session', 'async_create_session'].
2025-07-15 20:48:18.415
[16]      INFO:     169.254.169.126:62714 - "POST /api/reasoning_engine HTTP/1.1" 404 Not Found
2025-07-15 20:48:18.425
[16]      ERROR:    Exception in ASGI application
2025-07-15 20:48:18.425
Traceback (most recent call last):   File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi     result = await app(  # type: ignore[func-returns-value]
2025-07-15 20:48:18.425
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
        self.scope, self.receive, self.send
2025-07-15 20:48:18.425
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
    )
2025-07-15 20:48:18.425
    ^
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
2025-07-15 20:48:18.425
    return await self.app(scope, receive, send)
2025-07-15 20:48:18.425
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/applications.py", line 1054, in __call__
2025-07-15 20:48:18.425
    await super().__call__(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/applications.py", line 112, in __call__
2025-07-15 20:48:18.425
    await self.middleware_stack(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/errors.py", line 187, in __call__
2025-07-15 20:48:18.425
    raise exc
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/errors.py", line 165, in __call__
2025-07-15 20:48:18.425
    await self.app(scope, receive, _send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/cors.py", line 85, in __call__
2025-07-15 20:48:18.425
    await self.app(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
2025-07-15 20:48:18.425
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-07-15 20:48:18.425
    raise exc
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-07-15 20:48:18.425
    await app(scope, receive, sender)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 714, in __call__
2025-07-15 20:48:18.425
    await self.middleware_stack(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 734, in app
2025-07-15 20:48:18.425
    await route.handle(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 288, in handle
2025-07-15 20:48:18.425
    await self.app(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 76, in app
2025-07-15 20:48:18.425
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2025-07-15 20:48:18.425
    raise exc
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2025-07-15 20:48:18.425
    await app(scope, receive, sender)
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/starlette/routing.py", line 73, in app
2025-07-15 20:48:18.425
    response = await f(request)
2025-07-15 20:48:18.425
               ^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/routing.py", line 301, in app
2025-07-15 20:48:18.425
    raw_response = await run_endpoint_function(
2025-07-15 20:48:18.425
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
    ...<3 lines>...
2025-07-15 20:48:18.425
    )
2025-07-15 20:48:18.425
    ^
2025-07-15 20:48:18.425
  File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.13/lib/python3.13/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
2025-07-15 20:48:18.425
    return await dependant.call(**values)
2025-07-15 20:48:18.425
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-15 20:48:18.425
  File "/code/app/api/factory/python_file_api_builder.py", line 341, in handler
2025-07-15 20:48:18.425
    invocation_method_name = _resolve_invocation_method(
2025-07-15 20:48:18.425
        invocation_params.method_name,
2025-07-15 20:48:18.425
        _DEFAULT_QUERY_METHOD,
2025-07-15 20:48:18.425
        invocation_method_callables,
2025-07-15 20:48:18.425
    )
2025-07-15 20:48:18.425
  File "/code/app/api/factory/python_file_api_builder.py", line 310, in _resolve_invocation_method
2025-07-15 20:48:18.425
    raise utils.InvocationMethodNotFoundError(
2025-07-15 20:48:18.425
    ...<3 lines>...

smohsin-pave avatar Jul 16 '25 15:07 smohsin-pave

I noticed that the test_deployment.py file does work when pointing to my deployed agent on Agent Engine, but I get the above error when using CURL or a Node SDK

My ultimate goal is to be able to query this agent from a Node/express web server, is that possible @5Y5TEM ?

smohsin-pave avatar Jul 16 '25 16:07 smohsin-pave

Closing this out - i was able to fix my node server implementation by upgrading @google-cloud/aiplatform package to latest major version

smohsin-pave avatar Jul 16 '25 19:07 smohsin-pave

Closing this out - i was able to fix my node server implementation by upgrading @google-cloud/aiplatform package to latest major version

I'm having the same problem still, using google-cloud-aiplatform==1.104.0. I thought it was the latest, as I just updated it. What version are you using now?

rlucasfm avatar Jul 18 '25 19:07 rlucasfm

@rlucasfm I am actually using an npm package (javascript), the latest version for me is this: "@google-cloud/aiplatform": "^4.3.0",

smohsin-pave avatar Jul 18 '25 22:07 smohsin-pave

Hi @smohsin-pave @rlucasfm @5Y5TEM ,

If we don't use this @google-cloud/aiplatform package , and try to run through the Postman getting the same error.

**Also I have tried the google cloud platform API but getting same error - using latest package 5.3.0 **

const { ReasoningEngineExecutionServiceClient } = require('@google-cloud/aiplatform').v1;

const clientOptions = { apiEndpoint: '' }; const aiplatformClient = new ReasoningEngineExecutionServiceClient( clientOptions );

async function callQueryReasoningEngine() { // Construct request const name = '' const request = { name, input: { text: 'Your query text here', }, };

// Run request const response = await aiplatformClient.queryReasoningEngine(request); console.log(response); }

callQueryReasoningEngine();

Error Details: {"detail":"Agent Engine Error: Default method query not found. Available methods are: ['delete_session', 'create_session', 'async_create_session', 'list_sessions', 'get_session', 'async_list_sessions', 'async_delete_session', 'async_get_session']."} . ** The error is saying this is custom method as per message ** so we need to define the custom method for query ?

asif166037 avatar Aug 06 '25 07:08 asif166037

@smohsin-pave is your issue resolved?

I'm getting something similar except now shows "stream_query" not found in available methods.

additional context: using below packages google-adk 1.8.0 a2a-sdk 0.2.16

"error": { "code": 400, "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: User-specified method stream_query not found. Available methods are: ['async_search_memory', 'get_session', 'delete_session', 'async_get_session', 'async_delete_session', 'create_session', 'async_create_session', 'async_list_sessions', 'async_add_session_to_memory', 'list_sessions']."}", "status": "FAILED_PRECONDITION" }

anilraut30 avatar Sep 02 '25 22:09 anilraut30

Hi @anilraut30 ,

Please upgrade the adk and agent-engine version.

google-cloud-aiplatform = { extras = [ "adk", "agent-engines", ], version = "^1.93.0" }

asif166037 avatar Sep 03 '25 06:09 asif166037