4

I have set up objectify v6 and when I try to save an entity I get this exception

com.google.cloud.datastore.DatastoreException: Unauthenticated.

Caused by: com.google.datastore.v1.client.DatastoreException: Unauthenticated., code=UNAUTHENTICATED

NOTE: I am only trying to save this entity on localhost.

Here is my code to save entity using objectify:

        Subscriber subscriber = new Subscriber(phone);
        ofy().save().entity(subscriber).now();
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.