I tried to connect datastore using service account, I have given role as owner. Once service account is created, in the Managed keys option, added key and generate token as JSON, finally exported as env in intellji. I am getting below exception
Exception: Cloud Datastore API has not been used in project xxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/datastore.googleapis.com/overview?project=xxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
I already enabled datastore API. Please anyone can help
Here are some suggestions on how to troubleshoot further:
Verify API Activation:
Service Account Configuration:
GOOGLE_APPLICATION_CREDENTIALS
to the full file path of the JSON key, not just the directory.Network Issues:
Additional Resources:
Further Assistance:
Additional Information:
gcloud services list | grep datastore.googleapis.com