Application name not set warning in logs

1,938 views
Skip to first unread message

Santoshi Ved Tripathi

unread,
May 19, 2016, 7:47:56 AM5/19/16
to Google App Engine
Hi there,

Getting this warning log on every request to server: 

com.google.api.client.googleapis.services.AbstractGoogleClient <init>: Application name is not set. Call Builder#setApplicationName

Can anyone please tell me why this comes and how to get rid of this warning.

Thanks

Adam (Cloud Platform Support)

unread,
May 21, 2016, 5:14:47 PM5/21/16
to Google App Engine
Somewhere in your code, you're calling a Google API or an Endpoints API using google-api-java-client or the generated Endpoints client library. In your call to SomeService.Builder(...), you need to add the method .setApplicationName("My app name").

Santoshi Ved Tripathi

unread,
May 24, 2016, 12:59:34 AM5/24/16
to Google App Engine
Thanks for the reply, it worked :)

Berny MS

unread,
Sep 13, 2017, 12:03:40 AM9/13/17
to Google App Engine
Where do I have to put the code? thanks!
Reply all
Reply to author
Forward
0 new messages