Hi team,
I am encountering an HTTP 404 Not Found error when making requests to gemini-2.5-pro using an API key from a specific project with Pay-as-you-go enabled.
■ Endpoint:
POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-pro:generateContent
■ Error:
404 Not Found
■ Timestamp (JST):
- 2026-07-28 14:40:49
- 2026-07-28 14:41:02
- 2026-07-28 14:41:50
- 2026-07-28 14:44:22
■ Situation:
- Using the exact same request body and code, it works as expected (200 OK) when tested with an API key from a different project.
- However, with this specific project’s API key, it consistently returns a 404 error.
■ What we would like to check:
We would appreciate guidance or investigation on whether this is caused by:
- Project/Key configuration issues (e.g., Generative Language API not properly enabled, API restriction settings, or billing propagation delays).
- An internal project provisioning or synchronization issue for
gemini-2.5-pro.
Note: The Project ID will be provided privately upon request from Google staff.
Could someone please help us check the status or logs? Thank you!