Vertex AI Agent Engine sandbox `:execute` returning 404 NOT_FOUND in us-central1
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia riproducendo il malfunzionamento tramite client.agent_engines.sandboxes.execute_code(...) e confrontalo con la risposta GET della sandbox, utilizzando le forme delle richieste e le versioni dell’SDK elencate nell’issue. Verifica se la mancanza di connectionInfo e routing_token può essere risolta nel client; il lavoro è completato quando viene identificata una modifica lato client oppure viene confermato che è necessario un rollout o un workaround lato server.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Since 2026-04-28 ~18:51 UTC, calls to the Vertex AI Agent Engine sandbox :execute endpoint return 404 NOT_FOUND ("Requested entity was not found.") for newly created sandboxes in us-central1. The sandbox is verified to be in STATE_RUNNING immediately before the failing call. Affects both production and staging projects, consistent with a server-side rollout.
Versions
google-cloud-aiplatform==1.133.0google-genai==1.73.1google-adk==1.29.0- Python 3.11
Repro
client.agent_engines.sandboxes.execute_code(...) posts:
POST https://us-central1-aiplatform.googleapis.com/v1/<sandbox>/:execute
Content-Type: application/json
{ "inputs": [{ "mimeType": "application/json",
"data": "<base64 of {\"code\":\"...\"}>" }] }
Manual probing confirms :execute is reachable and validates input:
| Body | HTTP |
|---|---|
{"inputs":[{"mimeType":"application/json","data":<...>}]} (current SDK shape) |
404 |
{"inputs":[{"mimeType":"text/x-python","data":<...>}]} |
400 INVALID_ARGUMENT |
{"inputs":[{"mimeType":"text/plain","data":<...>}]} |
400 INVALID_ARGUMENT |
{"inputData": ...} (legacy) |
400, "Unknown name 'inputData'" |
{"code": "..."} |
400, "Unknown name 'code'" |
Legacy :executeCode |
404 (empty body) |
Additional findings
- Race / propagation ruled out. Re-running with a 10s wait after
STATE_RUNNINGreproduces the same 404. GET <sandbox>returns onlyname, displayName, createTime, updateTime, state, spec, expireTime. NoconnectionInfofield. Per commit677b55e,SandboxEnvironmentConnectionInfois whererouting_tokenlives in the new schema. The server isn't returning that block, so no client (old or new) has anything to forward.- HEAD-of-
mainSDK reproduces the same 404. Built python-aiplatform frommainat HEAD (commit0bb2ecd, past677b55e), calledexecute_code()against a fresh staging sandbox inSTATE_RUNNING. Result was identical:ClientError 404 NOT_FOUND. {'error': {'code': 404, 'message': 'Requested entity was not found.', 'status': 'NOT_FOUND'}}. The HEAD SDK still emits themimeType=application/jsonshape because the server never populatesconnectionInfo. - The reproducer ran as the same service account our live staging Cloud Run service runs as, ruling out an IAM artefact specific to a probing identity.
Hypothesis
A server-side rollout to :execute in us-central1 on or around 2026-04-28T18:00 UTC changed the contract to require routing information that the API does not currently expose on the sandbox GET payload. The fix may need to ship server-side.
Asks
- Can you confirm whether a server-side change to Agent Engine sandbox
:executewas rolled out inus-central1on/around 2026-04-28T18:00 UTC. - Any interim server-side workaround / route still accepting the previous shape?
Tracked internally on Google IssueTracker 507490536.
- Lingua principale
- Python
- Stelle
- 908
- Fork
- 468
- Merge medio
- 2g 4h
- PR unite (30g)
- 25
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di googleapis/python-aiplatform
-
Protobuf 7.35.1+ supportApertaapi: vertex-ai
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
googleapis/python-aiplatform#7132 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
googleapis/python-aiplatform#7097 ·
I maintainer di solito rispondono entro 1 giorno
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS waitApertaapi: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
googleapis/python-aiplatform#7067 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
googleapis/python-aiplatform#6877 ·
I maintainer di solito rispondono entro 1 giorno
-
api: vertex-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
googleapis/python-aiplatform#6865 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di googleapis/python-aiplatform
Issue simili
-
upstream update
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conan-io/conan-center-index#31098 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
john-kurkowski/tldextract#382 ·
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
NousResearch/hermes-agent#132042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
deepset-ai/haystack#13092 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
feder-cr/invisible_playwright_mcp#1408 ·
I maintainer di solito rispondono entro 1 giorno