Hello everyone,
I'm trying to update metadata on an object in Google Cloud Storage with the Cloud Storage connector and am getting an error I can't figure out. I'm using the following input parameters:
entityId: "bucketname/filename/1718999338924285"
connectorInputPayload:
{
"ContentEncoding": "gzip"
}
{
"error": {
"code": 400,
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"metadata": {
"cause": "Views cannot be inserted, updated or deleted.",
"connection_type": "Gcs",
"entity_id": "bucketname/filename/1718999338924285",
"entity_type": "Objects"
}
}
],
"message": "Unable to update entity/entities.",
"status": "FAILED_PRECONDITION"
}
}
I was able to successfully get the object with a Get operation, so the entityId should be correct. I've tried different variations of the connectorInputPayload, but can't resolve the error.
Thanks very much for any help you can provide!
On Objects entity, only GET and LIST operations are supported . "Upload object " action can still be used to upload the same object and modify the content type to achieve this use case