Request had insufficient authentication scope [500]

5/9/2018

I have simple user class doing a create and update in Datastore. It's running fine locally, but when I deploy it on Kubernetes, it provides me with the below response:

{ "timestamp": 1525833559351, "status": 500, "error": "Internal Server Error", "exception": "com.google.cloud.datastore.DatastoreException", "message": "Request had insufficient authentication scopes.", "path": "/api/test/sample/5629499534213120" }

For reference, I have followed this Stack Overflow link.

-- Ankush Nakaskar
google-cloud-datastore
google-cloud-platform
kubernetes
spring-boot
spring-mvc

0 Answers