Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 1,698
5 REPLIES 5