A partir de 29 de abril de 2025, os modelos Gemini 1.5 Pro e Gemini 1.5 Flash não estarão disponíveis em projetos que não os usaram antes, incluindo novos projetos. Para mais detalhes, consulte Versões e ciclo de vida do modelo.
Você recebe uma mensagem de erro semelhante a esta:
InvalidArgument: 400 Provided filter is not valid.
Possível causa:
O filtro não está formatado corretamente.
Solução recomendada:
Atualize a formatação do filtro para que ela esteja correta. Por exemplo,
você pode usar o seguinte para filtrar por nome de exibição. Este filtro não está formatado corretamente porque faltam aspas:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["# Troubleshoot managing deployed agents\n\nThis document describes how to resolve errors that you might encounter when\n[managing deployed agents](/vertex-ai/generative-ai/docs/agent-engine/manage/overview).\n\nError when filtering the list of agents\n---------------------------------------\n\n**Issue**:\n\nYou receive an error message similar to the following: \n\n InvalidArgument: 400 Provided filter is not valid.\n\n**Possible cause**:\n\nYour filter isn't formatted properly.\n\n**Recommended solution**:\n\nUpdate the formatting of your filter so it's formatted correctly. For example,\nyou might be using the following to filter by display name. This filter isn't\nformatted correctly because it's missing quotation marks: \n\n from vertexai import agent_engines\n\n agent_engines.list(filter=f'display_name={DISPLAY_NAME}')\n\nIn this case, enclose `{DISPLAY_NAME}` in double-quotation marks: \n\n from vertexai import agent_engines\n\n agent_engines.list(filter=f'display_name=\"{DISPLAY_NAME}\"')"]]