-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring-cloud-gcp-data-datastore-sample fails with "com.google.cloud.datastore.DatastoreException: The project XXX does not exist." #3142
Comments
@Kehrlann I am able to run this test multiple times successfully against the latest commit. Can you share a little more information? where are you setting the project ID, if its via a properties file could you please share? Also to confirm if you log into your project via the console, you see a default database in your DataStore and it has some results if you click on it such as: name=Big Bland Band? |
Hey @ldetmer thanks for reaching out! Edit: the sample works only with the When not using the default datastore:
|
There does seem to be an issue with application.properties getting overridden. If I run "gcloud config set project" to set my project ID, that gets me past your error, however it fails later when trying to run singerRepository.findSingersByFirstBand as the database id provided in application.properties gets overridden by the default value.
I will have the team look into this and will update when we have more information. |
Fix merged. |
Running the
spring-cloud-gcp-data-datastore-sample
project fails with:com.google.cloud.datastore.DatastoreException: The project XXX does not exist."
Setup
Running:
Cloud Datastore User
Bug:
Running the following command:
Fails with:
Note: The first time the project is run, the error may be different, but subsequent runs all fail when loading the
@Descendant List<Instrument> instruments
fromSinger
.The query that fails is the following:
Note that the instruments are recorded in the datastore.
The text was updated successfully, but these errors were encountered: