Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Updating vertex-ai endpoint labels using python

I'm getting this error while attempting to update a vertex-ai endpoint labels.

 

endpoint.update(labels=labels)

 

 

_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.FAILED_PRECONDITION
	details = "Updating PrivateServiceConnectConfig is not supported."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:216.58.198.74:443 {created_time:"2024-02-20T15:42:20.8032049+00:00", grpc_status:9, grpc_message:"Updating PrivateServiceConnectConfig is not supported."}"
>

 

it was working before, but now it's not, I have tried 3 different versions of the aiplatform library, and all are giving me the same error.

please note that updating labels for model and dataset are working fine.

 

model.update(labels=labels)
dataset.update(labels=labels)

 

can you help me?

2 2 546
2 REPLIES 2