- Error: 400 “API key not valid. Please pass a valid API key.” (INVALID_ARGUMENT, reason: API_KEY_INVALID)
- Tried: Multiple new keys created in AI Studio (including “New My API KEY”), curl tests from local machine fail the same way.
- API Generative Language is ENABLED on the project.
- Billing: Tier 1 paid (linked).
- Location: Cotonou, Benin (IP-based).
- No leaked key (fresh creations).
- Curl example used: [colle ton curl qui échoue]
- Happens on Cloud Run deploy too.
Any known regional restrictions for Benin? Or propagation delay for auto-created projects? Thanks!