Bug in Search & Conversation node.js API: cannot list datastore
edudesouza opened this issue · comments
Eduardo de Souza commented
Environment details
- which product (packages/*):
- OS: Google Cloud Functions
- Node.js version: Node 18.15.0
- npm version: 9.5.0
- google-cloud-node version: running cloud function local emulator
Steps to reproduce
Hi there, following this doc:
I cannot list DataStore, but the interesting part is ... the error log points to another project ID, error message, even if I left parent path blank.
ERROR: 7 PERMISSION_DENIED: Discovery Engine API has not been used in project 563584335869 before or it is disabled. Enable
it by visiting https://console.developers.google.com/apis/api/discoveryengine.googleapis.com/overview?project=563584335869 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.