Search endpoint is not working

Hi, 

I created a Data Store and I linked it to Dialogflow CX. I want to query it through the Discoverengine API and it is not working:

 

 

 

curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://discoveryengine.googleapis.com/v1alpha/projects/test-cx-346408/locations/global/collections/default_collection/dataStores/cxcli_1703976487926/servingConfigs/default_search:search" \
-d '{
"query": "cxcli",
}'

 

 

 

And this is the result:

 

 

 

{
  "error": {
    "code": 400,
    "message": "Cannot use enterprise edition features (website search, multi-modal search, extractive answers/segments, etc.) in a standard edition search engine. Please follow https://cloud.google.com/generative-ai-app-builder/docs/enterprise-edition#toggle-enterprise to enable Enterprise edition. Data store: cxcli_1703976487926",
    "status": "FAILED_PRECONDITION"
  }
}

 

 

 

The data store seems okay and it is indexed:

xavidop_0-1704017828941.png

I have the same behaviour in golang. That code is here:

https://github.com/xavidop/dialogflow-cx-cli/pull/192/files#diff-7ecde2232bc450a92757ecd37138878bbbe...

0 5 489
5 REPLIES 5

You are trying to use enterprise edition features (like website search, multi-modal search, etc.) in a standard edition search engine.

To enable the Enterprise edition, Visit the following link: Toggle Enterprise Edition.  and Enable the Enterprise edition for your project.

 

curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://discoveryengine.googleapis.com/v1alpha/projects/test-cx-346408/locations/global/collections/default_collection/dataStores/cxcli_1703976487926/servingConfigs/default_search:search" \
-d '{
  "query": "cxcli"
}'

 

 

hi @Robina unfortunately, in a conversation APP that screen does not exist. this is why I am creating the ticket.

Hi @xavidop have you already found a solution or work around to this issue?

the woraround was basically to create a search app using the same data store.

 I have a similar issue. i had created a datastore using Unstructured PDFs. When i try to use datastore with grounding configuration, i get the same error to toggle to enterprise edition.