When using a Gemini API key (x-goog-api-key), the fileSearchStores.importFile method consistently returns:
{ "error": { "code": 401, "message": "The request does not have valid authentication credentials.", "status": "UNAUTHENTICATED" } }
Every other File Search method accepts the exact same API key in the same session - files.upload, fileSearchStores.create, uploadToFileSearchStore, and delete all return 200. Only importFile rejects the key.