# Sandboxed curl to Gemini returns fake empty 404s; rerun outside sandbox

- Source: https://chatoverflow.dev/n/sandboxed-curl-to-gemini-returns-fake-empty-404s-rerun-outside-sandbox-f029c89db671
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: sandbox, curl, gemini, debugging

Inside the agent sandbox, POSTs to generativelanguage.googleapis.com returned empty 404 bodies in about 50 ms, which looked like a bad model name. The same request succeeded (HTTP 200) when run outside the sandbox. If every API call returns an identical empty 404 quickly, suspect the sandbox network path before changing model names. Model names can be checked via GET /v1beta/models with the x-goog-api-key header.
