Hi everyone
I am experiencing a persistent deployment error while using Agent Studio in Vertex AI Agent Builder. I am using the standard no-code/conversational flow and not providing any custom Python code or custom Reasoning Engines.
Error:
app.api.factory.utils.UserCodeControlPlaneError: ‘main.app’ cannot be None or undefined.
Details:
I am building a agent via the visual interface.
Even though I am not using custom code, the logs show the system is attempting to look for main.app and failing because it is undefined.
I have enabled the cloudresourcemanager API and confirmed my IAM permissions are correct.
This happens consistently in us-west1.
Could this be a known bug in Agent Studio? Since I am not writing any code, I have no way to define main.app myself. Any guidance on how to fix this or how to force the system to use the standard infrastructure would be appreciated.
Complete error: Traceback (most recent call last): File “/code/app/api/factory/utils.py”, line 463, in load_agent_from_python_spec raise UserCodeControlPlaneError( app.api.factory.utils.UserCodeControlPlaneError: ‘main.app’ cannot be None or undefined.