Reputation: 523
I am working on a proof of concept for a spring-boot java web app hosted on a google cloud compute instance using the google cloud datastore.
Here is what I did:
I attempted to PUT to my resource (which uses the @reposoitory) (just like i did locally), I receive:
DatastoreException(Backend Error): beginTransaction 503
com.google.api.services.datastore.client.DatastoreException: Backend Error
at com.google.api.services.datastore.client.RemoteRpc.makeException(RemoteRpc.java:115)
at com.google.api.services.datastore.client.RemoteRpc.call(RemoteRpc.java:81)
at com.google.api.services.datastore.client.BaseDatastoreFactory$RemoteRpc.call(BaseDatastoreFactory.java:41)
at com.google.api.services.datastore.client.Datastore.beginTransaction(Datastore.java:77)
... more
I researched a few other issues like this on stack overflow, and the answers have been:
Thanks for the help
Upvotes: 1
Views: 308
Reputation: 523
After sending my dataset id to Ed at Google Support, he noticed that there was a "zero width space" unicode character at the end of the dataset id.
I guess I was lazy when coding it up and copied it from the project's page of the Google Developer Console.
Re-keying the dataset-id/project-id did the trick.
Upvotes: 1