Datastore is not getting indexed

Hi @xavidop
The datastore are not being indexed. I tried importing from one agent to other, since I to got to know from Google Cloud Platform about the location access being discontinued. It worked perfectly fine in the first agent before the location issue raised but it did not work in the second the agent( facing issue in datastore indexing). I have also checked the requirements for the files to be uploaded in datastore, no problem in that part. I have used US location for cloud storage and global location for datastore.
Need your guidance
Thanks in advance

1 Like

Hi, what are the errors you are facing?

Since datastore is not being indexed, The intent is getting triggered but I am not getting response from the datastore in Dialogflow CX. I am facing same in various projects. What do you think might be the problem? Is it related to the location restriction?
@xavidop Kindly look into it

This is what I get when I click on “view full error logs”

I am sorry, but I need the full log information

[
{
“insertId”: “10wqubhe10e7a”,
“jsonPayload”: {
“context”: {
“reportLocation”: {
“functionName”: “google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments”
}
},
“importPayload”: {
“gcsPath”: “gs://zobhelpcontent/ZOLL Billing Basics/Knowing the Claim was Submitted.pdf”,
“operation”: “projects/548773629725/locations/global/collections/default_collection/dataStores/claimbatches-nds_1716543996376/branches/0/operations/import-documents-16345715069549595530”,
“lineNumber”: “0”,
“document”: “”
},
“@type”: “type.googleapis.com/google.cloud.discoveryengine.logging.ErrorLog”,
“serviceContext”: {
“service”: “discoveryengine.googleapis.com”
},
“status”: {
“message”: “Document projects/548773629725/locations/global/collections/default_collection/dataStores/claimbatches-nds_1716543996376/branches/0/documents/b87ed5b39eb0c684142805c6500cef52 (uri: gs://zobhelpcontent/ZOLL Billing Basics/Knowing the Claim was Submitted.pdf) is imported but not yet indexed. Please wait another hour for index. If it’s still not searchable, there might be issues in the document, such as blank documents, formatting errors, or corrupted files.”,
“code”: 5,
“@type”: “type.googleapis.com/google.rpc.Status”
}
},
“resource”: {
“type”: “consumed_api”,
“labels”: {
“version”: “”,
“service”: “discoveryengine.googleapis.com”,
“method”: “google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments”,
“location”: “global”,
“project_id”: “zobchatbot”,
“credential_id”: “”
}
},
“timestamp”: “2024-05-24T09:46:50.101044Z”,
“severity”: “ERROR”,
“logName”: “projects/zobchatbot/logs/discoveryengine.googleapis.com%2Fapi_errors”,
“receiveTimestamp”: “2024-05-24T10:12:53.084883012Z”
}
]

This is what I get if I download the log. Is this what you are asking for?
@xavidop

the error says: there might be issues in the document, such as blank documents, formatting errors, or corrupted files.

1 Like

Got it. Thank you