Referring to the Documentation on Google Cloud Java, trying to access features using FeaturestoreOnlineServingServiceClient
Service as per the document.
Relevant bits of code
try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
FeaturestoreOnlineServingServiceClient.create()) {
String gcpProject = this.featureStoreConfig.getProject();
String featureStoreName = this.featureStoreConfig.getFeatureStoreName();
String featureStoreLocation = this.featureStoreConfig.getLocation();
EntityTypeName entityTypeName =
EntityTypeName.of(gcpProject, featureStoreLocation, featureStoreName, entityType);
System.out.println(entityTypeName);
ReadFeatureValuesResponse response =
featurestoreOnlineServingServiceClient.readFeatureValues(entityTypeName);
The code crashes on readFeatureValues
Relevant bits of Error
Failed to complete request: com.google.api.gax.rpc.UnimplementedException: io.grpc.StatusRuntimeException: UNIMPLEMENTED: HTTP status code 404
invalid content-type: text/html; charset=UTF-8
<html>
...
<title>Error 404 (Not Found)!!1</title>
...
<p>The requested URL <code>/google.cloud.aiplatform.v1.FeaturestoreOnlineServingService/ReadFeatureValues</code> was not found on this server. <ins>That’s all we know.</ins>
Any suggestions on what could be the error?