Hi, I’m having some recent trouble “migrating” from gemini-2.5-pro to gemini-3-flash-preview in the API. Most of my calls to the API get the same error: {"detail":"404 NOT_FOUND. {'error': {'code': 404, 'message': 'Requested entity was not found.', 'status': 'NOT_FOUND'}}"}.
But some requests go through just fine, also tried going back to 2.5-pro and that works fine as well so I’m thinking it’s not my code. Any thoughts on what it could be?
While Gemini 3 Flash Preview is rolling out globally, “Preview” models are sometimes restricted to specific regions during the first few weeks of launch. If some of your requests go through while others fail, you might be hitting different API clusters. Please check your Google Cloud console or AI Studio settings to ensure your project is pinned to a supported region for the Gemini 3 series.
The most frequent cause for a 404 is a mismatch between the model string and the API endpoint. Gemini Error Codes Please verify the same.