Google app engine issue when deploying it

340 views
Skip to first unread message

Skm Villa

unread,
Apr 30, 2020, 2:10:25 PM4/30/20
to Google App Engine

Google app engine version 1.9.76

when running locally , it shows an error, any idea pls

Error:

c.l.m.c.ExceptionHandlerController       : Error ==Missing or insufficient permissions.
[INFO] com.google.cloud.datastore.DatastoreException: Missing or insufficient permissions.
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:128)
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:113)
[INFO]  at com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.runQuery(HttpDatastoreRpc.java:181)
[INFO]  at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:180)
[INFO]  at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:177)

My Entity is

@Entity(name = "CITY")
@Cache
@XmlRootElement(name = "city")
public class City implements Serializable {
   private static final long serialVersionUID = 1L;
   @Id
   @Index
   private Long id;

Already posted in 

https://groups.google.com/forum/#!topic/objectify-appengine/xM9rJKMv-Ns

Olu

unread,
May 1, 2020, 10:47:44 AM5/1/20
to Google App Engine
There are a number of reasons this type of error may be obtained. As the error message indicates, it seems there is a missing or insufficient permission and this may be due to a number of reasons. For example, on this Stackoverflow link[1], the issue was caused by missing App Engine default service account. The issue also may be caused by the App Engine service account missing the appropriate role or permission required to read and write to Datastore and Firestore databases in your Google Cloud project.

For better troubleshooting of the issue, which may involve reviewing configurations on your Project, I recommend you contact the GCP Support Engineers[2] or if you think this issue is a bug, then please open an issue using this link[3].

Reply all
Reply to author
Forward
0 new messages