Google AI Platform _InactiveRpcError,MethodNotImplemented:501 收到状态为 404 的 http2 标头

问题描述

尝试运行:

client = google.cloud.aiplatform.gapic.JobServiceClient(client_options=client_options)
client.create_custom_job(parent=PARENT,custom_job=CUSTOM_JOB)

我得到了:

_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
    status = StatusCode.UNIMPLEMENTED
    details = "Received http2 header with status: 404"
    debug_error_string = "{"created":"@1623698785.509643000","description":"Received http2 :status header with non-200 OK status","file":"src/core/ext/filters/http/client/http_client_filter.cc","file_line":130,"grpc_message":"Received http2 header with status: 404","grpc_status":12,"value":"404"}"
>

有什么想法吗?

解决方法

好的,我将区域从 eu-west2 更改为 eu-west4 并且它起作用了,尽管文档另有说明,但似乎尚未在该区域实施。