Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Stay organized with collections
Save and categorize content based on your preferences.
This document describes how to resolve errors that you might encounter when
managing deployed agents.
Error when filtering the list of agents
Issue:
You receive an error message similar to the following:
InvalidArgument: 400 Provided filter is not valid.
Possible cause:
Your filter isn't formatted properly.
Recommended solution:
Update the formatting of your filter so it's formatted correctly. For example,
you might be using the following to filter by display name. This filter isn't
formatted correctly because it's missing quotation marks:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 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}\"')"]]