agents.deploy NOT_FOUND: The directory being accessed is not found. error

stevomcnevo007
New Contributor III
I keep getting the following error although the model definitely does exist and version names and model name is correct
 

RestException: NOT_FOUND: The directory being accessed is not found.

 

when calling

 
# Deploy the model to the review app and a model serving endpoint
agents.deploy(model_name, model_version, scale_to_zero=True)
 
( i'm on a free trial )